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 / Entity disaspear

Author
Message
immortal
15
Years of Service
User Offline
Joined: 20th Mar 2009
Location:
Posted: 6th Feb 2010 15:37
hi,
how can i get something like : when player use the button , a big rock disaspear ?

(sorry for my bad english im french)
Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 6th Feb 2010 19:01
Yes, place a switch somewhere and right click it. In the IfUsed box, type 'BoulderSpawn'. Now, place a boulder entity (found in the scifi section under entity bank). Right click it, and rename it to 'BoulderSpawn'. Then, scroll down and set Spawn At Start to No.


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
Devastaor
14
Years of Service
User Offline
Joined: 2nd Jan 2010
Location:
Posted: 6th Feb 2010 21:52
Quote: "Yes, place a switch somewhere and right click it. In the IfUsed box, type 'BoulderSpawn'. Now, place a boulder entity (found in the scifi section under entity bank). Right click it, and rename it to 'BoulderSpawn'. Then, scroll down and set Spawn At Start to No.
"

But wouldn't that make a boulder appear? I think he is asking for it to disappear.
Bootlicker
15
Years of Service
User Offline
Joined: 29th Mar 2009
Location: Germany
Posted: 6th Feb 2010 22:05
yes that would make it appear. I'm not sure how to make it disappear, there is probably a stock script with this...

Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 7th Feb 2010 03:58
Quote: "But wouldn't that make a boulder appear? I think he is asking for it to disappear. "


Oops, looks like I was a bit hasty there! Here's how to make one disappear:

Place a switch and change the IfUsed section to 'BoulderDestroy'. Place a boulder down (make sure it is dynamic), rename it to 'BoulderDestroy' and save the script below to an fpi file and set that to it's main script:

:state=0:state=1
:state=1,activated=1:runfpidefault=2

Then, for a nice effect, set the boulder's destroy script to be crumble.fpi (found in the destroy folder).


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
wayne davis rocks
16
Years of Service
User Offline
Joined: 10th May 2008
Location: US Liberty In
Posted: 12th Feb 2010 22:38
great answer marc very helpful I got my eyes open for more good stuff...lol

Wayne Davis Band

Login to post a reply

Server time is: 2024-11-25 02:54:09
Your offset time is: 2024-11-25 02:54:09