while searching thru example code i found one that has something interesting in it.
Mesh = CollisionEntity (b\entity,i)
c.ball = Object.ball EntityName( mesh )
when i saw this i thought it was pointing c to the type attached to the mesh of the collided entity.
however i cant get this object command to give me anything but null!
Is that possible? i would love to be able to do something like that!
eg
Mesh = CollisionEntity (b\entity,i)
c.ball = Object.ball EntityName( mesh )
c\hitpoints = c\hitpoints - b\damage
--oh also, object isnt in the help file, nor the online one
Mesh = CollisionEntity (b\entity,i)
c.ball = Object.ball EntityName( mesh )
when i saw this i thought it was pointing c to the type attached to the mesh of the collided entity.
however i cant get this object command to give me anything but null!
Is that possible? i would love to be able to do something like that!
eg
Mesh = CollisionEntity (b\entity,i)
c.ball = Object.ball EntityName( mesh )
c\hitpoints = c\hitpoints - b\damage
--oh also, object isnt in the help file, nor the online one