CreateActor
#1

I have created an actor

PHP Code:
public OnGameModeInit()
{
    
CreateActor(291631.6747980.873910.8203232.7813);

But -->Actors can be pushed by vehicles, use a timer to put them back at their positions.

How to use a timer to put them back at his position ?
Reply
#2

or you can create invisible object near actor
Reply
#3

How to use a timer to put him back at his position ?
Reply
#4

As far as I know, It comes back alone if you left it and came back again.. as the actor.inc doesn't have a timer setting system
Reply
#5

Ups ,it didn't work till now !
Reply
#6

It didn't come back to its place?

Alright then, Let's use another method..

Why don't you make a timer which Checks the Actor pos?? Via GetActorPos and if that Position not equal to The point which you've spawned the Actor, SetActorPos to the first place..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)