Parameters |
Description |
int channelId |
Identifier for the network channel. |
SmartScriptTable actorParams |
Parameters for the actor. |
Syntax: ActorSystem.CreateActor( channelId, actorParams )
Creates an actor.
Example on how to use this function:
local params = { name = "dude", class = "CSpectator", position = {x=0, y=0, z=0}, rotation = {x=0, y=0, z=0}, scale = {x=1, y=1, z=1} }
Actor.CreateActor( channelId, params );
Copyright (c) 2012. All rights reserved.
|