openb3d docs/question

Started by William, November 18, 2022, 14:16:17

Previous topic - Next topic

William

can somebody tell me why Local x:TEntity=EntityX(camera) doesnt work?

'EntityX:Float( ent:TEntity,glob:Int=False )
Local x#:TEntity=EntityX(camera)

how does this work? Compile Error: Expecting expression but encountered ':'
okay i fixed it now. Can someone explain to me why t:classes are used but not for entity
im still interested in oldschool app/gamedev

angros47

EntityX is supposed to return a float type, not an entity type