Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / Using a trigger zone to spawn a enitity

Author
Message
TriSpefear Studios
14
Years of Service
User Offline
Joined: 11th Nov 2011
Location: Dallas, Texas, USA
Posted: 28th Dec 2011 20:33
I am trying to use a Trigger Zone to spawn a security guard. I know there is a option in the "TriggerZone" options that says "if used". What would i type in to make the entity spawn?

oh, Scrennie attached

"Real Games, For Once"
"Pull the Grenade, Throw the Pin?"
DoubleRThree
14
Years of Service
User Offline
Joined: 29th Sep 2011
Location: UK
Posted: 28th Dec 2011 20:47
Name the guard G1 or something (can be done by right-clicking the guard entity, and it's at the top), then type G1 into the "if used" of the trigger zone.

Also, set the guard's "spawn at start" to "no", and it's "spawn after delay" to "yes". Type "0" into the delay.


Those settings work for me.


RR3.
TriSpefear Studios
14
Years of Service
User Offline
Joined: 11th Nov 2011
Location: Dallas, Texas, USA
Posted: 28th Dec 2011 20:57
Ok it worked. Thanks

"Real Games, For Once"
"Pull the Grenade, Throw the Pin?"
TriSpefear Studios
14
Years of Service
User Offline
Joined: 11th Nov 2011
Location: Dallas, Texas, USA
Posted: 28th Dec 2011 21:04
Nevermind it does not work Is there anything else i would put in the "if used" box?

"Real Games, For Once"
"Pull the Grenade, Throw the Pin?"
DoubleRThree
14
Years of Service
User Offline
Joined: 29th Sep 2011
Location: UK
Posted: 28th Dec 2011 21:12
Sorry, mistake on my part, change the Trigger Zone's "main" script to "plrinzoneactivateifused" (it's called something along those lines).
TriSpefear Studios
14
Years of Service
User Offline
Joined: 11th Nov 2011
Location: Dallas, Texas, USA
Posted: 28th Dec 2011 21:19
There we go! Thanks double

"Real Games, For Once"
"Pull the Grenade, Throw the Pin?"
DoubleRThree
14
Years of Service
User Offline
Joined: 29th Sep 2011
Location: UK
Posted: 28th Dec 2011 21:23
Anytime.

Login to post a reply

Server time is: 2026-07-02 12:29:59
Your offset time is: 2026-07-02 12:29:59