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 Product Chat / how can i trigger a decal.....

Author
Message
nikas
15
Years of Service
User Offline
Joined: 23rd Apr 2009
Location:
Posted: 1st May 2009 23:15
how can i trigger a decal.....i want the explosion decal to be activated in a specific time when the palyer is in a specific plase....i know this must be done by trigers but dont know how.....

divernika
a great idea READ THIS
15
Years of Service
User Offline
Joined: 29th Apr 2009
Location:
Posted: 2nd May 2009 15:16
im not shure but you can try this right click on the decal then name it somthing like decal. then lay down a trigger zone where you want. and right click on the trigger zone and the main script chang it to prlinzoneactivateused then in the if used part wright what you named the decal then test the game when u walk past the trigger zone it should trigger your decal

directorsnap
nikas
15
Years of Service
User Offline
Joined: 23rd Apr 2009
Location:
Posted: 7th May 2009 05:33
well that didnt worked....any other answers????any other help???

divernika
john schwarcz
User Banned
Posted: 7th May 2009 05:34
maybe its cause you decal is on static?

shadow666
daarboven
16
Years of Service
User Offline
Joined: 20th Dec 2007
Location: right over there, see?
Posted: 7th May 2009 08:43 Edited at: 7th May 2009 08:54
the described method should work, but don't forget to set "spawn at start" to no, so the decal can only spawn when triggered. This is from the top of my head, will check and edit later if I'm wrong.

EDIT: forget about it, decals have no "spawn" property, bummer.

EDIT2:Now here's what you do!
place your decal and in it's property panel, change the following:
1.Give it a unique name (i named it decal for simplicity here)
2.in its "Start" property, give it the script:"appearifactivated.fpi" from the scriptbank.

place a triggerzone, in its "Main" property, change the script to "plrinzoneactivateused.fpi"
in its ifUsed field, put in the name of the decal.

Test: walk into your trigger zone and see the decal being spawned.

I am Jacks complete lack of surprise.
4125
16
Years of Service
User Offline
Joined: 3rd Feb 2008
Location: Bronx, New York
Posted: 7th May 2009 10:51
I found no "appearifactivated.fpi" In My FPSC V115...

Can You Use Something Esle?

Computer Specs: Intel Core 2 Duo E7400 2.80GHz @ 1066Mhz FSB 3MB Cache, Dual Channel 8192MB DDR2 PC6400 800MHz RAM, XFX Nvidia Geforce 9800 GTX+ 512MB, MSI P7N SLI-FI Motherboard - nForce 750i SLI
Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 7th May 2009 12:53
Give this link a try.
http://forum.thegamecreators.com/?m=forum_view&t=112269&b=23

Don't just say No it can't be done. Think outside the box.
daarboven
16
Years of Service
User Offline
Joined: 20th Dec 2007
Location: right over there, see?
Posted: 8th May 2009 00:32 Edited at: 8th May 2009 00:34
that's the content of it...

save the sniplet with the said name to your scriptbank.
If that is not a default script, who is the author and earns the credit for it? there was no comment in the script...kudos to the unknown scripter.

I am Jacks complete lack of surprise.

Login to post a reply

Server time is: 2024-10-12 11:18:02
Your offset time is: 2024-10-12 11:18:02