NDOIM
Object Functions & Examples
MoveTo() Paramslocation - location to move to number - multiplier to apply to base mobile speed number - body size of mobile being moved eventid - event identifier of the arrived event bool - true if it works, false if it fails |
Tells a mobile to move directly to a location. He will stop if he is blocked by collision. An Arrived event will fire on this object when he arrives at the destination or is blocked. |
Example
CODE EXAMPLE BLOCK
MoveToContainer() Paramsgameobject - container object location - position inside container Returns bool - true if it worked, false if not |
Attempts to put this object into the specified container. |
Example
CODE EXAMPLE BLOCK