Skip to content

Stop Entity

Stop Entity

Stops an actor or entity's current movement and reset its movement state.

Properties

System

Name Explanation Type
Target The actor or entity whose movement will be stopped. Actor Reference

Examples

Stop Movement on Entity 0

This stops all active movement on entity 0.

stop_actor(entity(0));
{"Data":{"Target":{"ReferenceType":0,"Index":0,"IsSelf":false,"IsEntity":true,"IsPartyMember":false,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Entity.EntityStopMovementCommand"}

Stop Movement on Self

This stops all active movement on the calling entity.

stop_actor(self);
{"Data":{"Target":{"ReferenceType":0,"Index":0,"IsSelf":true,"IsEntity":false,"IsPartyMember":false,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Entity.EntityStopMovementCommand"}