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 / When player steps into trigger zone Enemy Spawns.

Author
Message
SporteFre
15
Years of Service
User Offline
Joined: 14th Apr 2009
Location: Biohazard 2
Posted: 16th Apr 2009 20:53
Is there a way to do this ime guessing im going to need a script of some sort! but could anyone one help me cause this is confusing me ( Im pretty new to FPSC so i dont know much ) i mean i know how to script a little like with c# and c i just cant figure out The scripting Language of FPSC so if anyone could help that would be great

Eg:

- Player walks through door ( stepping into trigger zone enemy spawning )
-Player looks through window
- Player sees Enemy walk into other room
-Player continues past the other room.

" Obsess over obssessions and you will find creativity " Ryan Sur
JRH
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Stirling, UK
Posted: 17th Apr 2009 12:42
Ok, scripting in FPSC is extremely simple. You just have to follow the rules. I learnt to script after reading over this, only the once.

Anyway, there is already a script that you can use that comes with FPSC. In the Main Script choice for the trigger zone, set it to plrinszoneactivateused.fpi (or something like that). Then, set the name of the character in the if used box of the trigger zone.

Then, the last step is to edit the characters 'Spawn at Start" field to No. Try it out and see what you get.

Good Luck,
JRH

SporteFre
15
Years of Service
User Offline
Joined: 14th Apr 2009
Location: Biohazard 2
Posted: 17th Apr 2009 16:57
Thanks SO much this really helped ! I just wasnt sure because ime used to many other scripting languages. Its working 100%.

" Obsess over obssessions and you will find creativity " Ryan Sur

Login to post a reply

Server time is: 2024-11-24 23:54:06
Your offset time is: 2024-11-24 23:54:06