ActorExtended

From Virtual World Web Wiki
Revision as of 20:23, 13 July 2018 by Spark5 (Talk | contribs) (Documentation for the ActorExtended class)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Represents a an Actor in an Enagement.

  • This is a JavaScript visible object

Remarks [edit]

Properties

EngagementExtended Engagement {get;}
Gets the EngagementExtended of which this Actor is a part.
EngagementStateExtended State {get;}
Gets the EngagementStateExtended of which this Actor is a part.

Methods

void Destroy()
Destroys the actor, leaving the angagement
void Fire(string trigger)
Fires the specified trigger for this actor
string GetMetadata(string key)
Gets a metadata value from this actor
void SetMetadata(string key, string value)
Sets a metadata value on this actor