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 / Help wiht scripting.

Author
Message
Kuwito
17
Years of Service
User Offline
Joined: 11th Aug 2005
Location: Jerez Spain ;-)
Posted: 21st Aug 2005 14:41
Hi.
Im new in this forum and say hellow to somebody
I buy the FPS EA and i need some help.

The first is, i make one entiti (example a box) and put other entiti in the upper (entiti of fire or other). Ok i need call the second entiti from the first entiti. Exaple when destroy the box the fire entiti wil destroy.

Code in box:
;Triggers
:state=1:destroy
:state=0:sound=audiobank\smash\concrete.wav,rundecal=0,state=1
How i can call the fire entiti????

Other question.
I like put a trigger zone and then the user go into zone move one entiti.
Ummm... you can put an example of script code??

Thanks to all.

Note: Sorry for my horrible englis.. i only speak spanish
ctm
17
Years of Service
User Offline
Joined: 25th Feb 2005
Location:
Posted: 22nd Aug 2005 19:10
Add activateifused=1 to the script of the box:

;Triggers
:state=1:destroy
:state=0:sound=audiobank\smash\concrete.wav,rundecal=0,activateifused=1,state=1

Then type the name of the fire in the IF USED field of the box.

Add this as a MAIN script to the fire:

;Triggers
:state=0,activated=1:state=1
:state=1:destroy
Kuwito
17
Years of Service
User Offline
Joined: 11th Aug 2005
Location: Jerez Spain ;-)
Posted: 22nd Aug 2005 22:14
Thanks for your help !!

Login to post a reply

Server time is: 2022-12-04 09:29:41
Your offset time is: 2022-12-04 09:29:41