Quote:
Originally Posted by SiaReyes
SetDynamicActorPos should be put inside OnGamemodeInit()
Example
pawn Code:
new MyActor[2];
public OnGameModeInit() { // Actor 1 = MyActor[0] MyActor[0] = CreateDynamicActor(23, 0.0, 0.0, 0.0); SetDynamicActorPos(MyActor[0], 0.0, 0.0, 0.0);
// Actor 2 = MyActor[1] MyActor[1] = CreateDynamicActor(23, 0.0, 0.0, 0.0); SetDynamicActorPos(MyActor[1], 0.0, 0.0, 0.0);
return 1; }
|
When CreateDynamicActor symbol create the actor and set actor position why use the SetDynamicActorPos symbol after that?
Quote:
Originally Posted by darkwing
SetDynamicActorPos doesn't work at OnPlayerUpdate. Actor disappears.
|
What do you want to make?