Commands
All commands available in the Spark Playables system. Execute via Spark.Network.ExecuteCommand().
ExecutePlayableCommand
Executes a playable on an entity. This is the primary way to trigger playable execution through code.
Property
Type
Description
Entity
NetworkEntity
The entity to execute the playable on
PlayableEntry
PlayableEntry
The playable database entry to execute
var command = new ExecutePlayableCommand
{
Entity = playerEntity,
PlayableEntry = myPlayableEntry
};
Spark.Network.ExecuteCommand(command);Last updated
Was this helpful?
