ActorID
Usage:
ActorID(Race, Class)
Description:
The ActorID command returns an ID number representing a particular race/class actor combination. These IDs are set when an actor is created in the main editor, and do not change. These IDs can then be used with other scripting commands, such as WaitKill and Spawn.
Example:
Function Main()
// Wait for player to kill 5 Orcs
ID = ActorID("Orc", "Warrior")
WaitKill(Actor(), ID, 5)
Return()
End Function
Comments (0)
You don't have permission to comment on this page.