CharacterClass

A script class that is instanced for every Character in the game.

Kind: API page

Environments: Game

Game

Open the full Game reference

A Character is a temporary vessel controlled by a Player or Unit.

Can receive events sent with sm.event.sendToCharacter.

Fields

Name Type Description
character Character The Character game object belonging to this class instance.
network Network A Network object that can be used to send messages between client and server.
data any Data from the "data" json element.