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 With Getting Entities To Disappear

Author
Message
zzrabbit
15
Years of Service
User Offline
Joined: 30th Nov 2008
Location:
Posted: 9th Mar 2009 23:43
Hi all

I am having trouble with making some entities disappear.
In a level the player has to go into a building and outside in front of the building is a Police Line.

Later in the same level the player has to go by the same building and down the street, but I'am trying to have the Police Line gone when the player returns.

Any help would be great ....

Thanx
ZZ
Brian In Korea
15
Years of Service
User Offline
Joined: 1st Mar 2009
Location:
Posted: 10th Mar 2009 06:28
I would place a trigger zone (TZ) down the street. I would set the TZ's IF USED property box with the name of the entity you want to disappear (PoliceLine). Within the TZ's main ai script I would include:


Within the main ai script of the entity you want to disappear, I would set its name (PoliceLine) and within its main ai script I would include:



If you want to make 3 objects disappear . Then change the ai of the trigger zone to :

and name the 3 targets accordingly.
zzrabbit
15
Years of Service
User Offline
Joined: 30th Nov 2008
Location:
Posted: 10th Mar 2009 12:52 Edited at: 10th Mar 2009 12:52
Thank You,

The way you put it Brian makes it simple to understand. I get the idea now...

ZZ

Login to post a reply

Server time is: 2024-11-24 21:56:07
Your offset time is: 2024-11-24 21:56:07