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 Scripts / Trigger zone to spawn a trigger zone.

Author
Message
Jeremiah
18
Years of Service
User Offline
Joined: 9th Sep 2006
Location:
Posted: 25th Sep 2007 02:31
As the title say, I am trying to figure out a way so that you have to walk over one trigger zone before the other one will activate.

I tried using the ifused statement, to trigger the second zone, but sadly this won't work since the trigger zone is spawned automatically.

There is no way to change this in the sidepanel for trigger zone since they didn't build this feature in
pigs can fly
18
Years of Service
User Offline
Joined: 20th Aug 2006
Location: Luxembourg
Posted: 25th Sep 2007 14:11 Edited at: 25th Sep 2007 14:11
Maybe by entering the
spawnatstart = X
and spawnafterdelay = X
from the normal entities' FPE into the triggerzone's FPE
(I would backup the original FPE file)

Hope that helped


The Swarm of flying pigs is coming...
Killer&Slaughter Machines Pack too!
Jeremiah
18
Years of Service
User Offline
Joined: 9th Sep 2006
Location:
Posted: 25th Sep 2007 20:26
Nope it doesn't work. I wish I could figure this out.

It would be so cool. Imagine you have to walk into one room first before it activates a trigger zone in another room.

Great for storybuilding.

Seemingly random enemies.


If you could spawn trigger zones, you could build in story elements that require you to talk to someone in order to activate a perticular feature of the game.


There just has to be someway of doing this.
pigs can fly
18
Years of Service
User Offline
Joined: 20th Aug 2006
Location: Luxembourg
Posted: 25th Sep 2007 21:54
Try spawning an invisible entity by the 1st triggerzone, and give the invisible obect this script:


Hope that one works
BTW: Attachment contains invisible texture (full transparent).


The Swarm of flying pigs is coming...
Killer&Slaughter Machines Pack too!

Attachments

Login to view attachments
Jeremiah
18
Years of Service
User Offline
Joined: 9th Sep 2006
Location:
Posted: 26th Sep 2007 00:13 Edited at: 26th Sep 2007 00:17
sweet, damn man dog you are good

Now, if you could only figure this one out
http://forum.thegamecreators.com/?m=forum_view&t=114840&b=23

I would have a statue built in your honor
pigs can fly
18
Years of Service
User Offline
Joined: 20th Aug 2006
Location: Luxembourg
Posted: 27th Sep 2007 17:55
Quote: "sweet, damn man dog you are good"

You're welcome

For the other thread, I'm not sure. You already got much information from other users, and I don't really know waht you mean with "undeclare a variable". Also the runfpi=X command doesn't seem to work...


The Swarm of flying pigs is coming...
Killer&Slaughter Machines Pack too!
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 28th Sep 2007 19:46
pigs can fly,

Handy script.

Thanks,

Seth Black


Own It, Or Get Owned...

Login to post a reply

Server time is: 2024-11-23 22:48:30
Your offset time is: 2024-11-23 22:48:30