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 / script isnt working

Author
Message
woot for toot
16
Years of Service
User Offline
Joined: 13th Apr 2008
Location: a box
Posted: 17th Sep 2008 23:36
ok so im following the guide to try and get a trigger zone to destroy my barrel and its been working exept for the triggerzones script whic for some reason doesnt want to consider itself a script well here it is


fear my udder of doom!
1990Mike
16
Years of Service
User Offline
Joined: 14th Jul 2008
Location:
Posted: 17th Sep 2008 23:39


Neither a lofty degree of intelligence nor imagination nor both together go to the making of genius. Love, love, love, that is the soul of genius - Wolfgang Amadeus Mozart
woot for toot
16
Years of Service
User Offline
Joined: 13th Apr 2008
Location: a box
Posted: 18th Sep 2008 00:12
whoops forgot about that

fear my udder of doom!
woot for toot
16
Years of Service
User Offline
Joined: 13th Apr 2008
Location: a box
Posted: 18th Sep 2008 00:36
hmm still isnt working

fear my udder of doom!
woot for toot
16
Years of Service
User Offline
Joined: 13th Apr 2008
Location: a box
Posted: 18th Sep 2008 00:39
ok ill be more specific... the detonator isnt spawning so its one of those two scripts

fear my udder of doom!
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 18th Sep 2008 00:40
Okay... ummmm, I think the best way for us and you to understand what's trying to be achieved here is:

- List out exactly what you want to have happen, be very detailed.
- Now, run us and yourself through your script(s) step by step and tell us what each part is going to do and how it's going to do it. Again, be very detailed. Like say what each command's purpose is in your script.

If you can do that, I'm pretty positive that not only will you understand scripting a bit better, but you'll probably find the solution in the process.


FYI, this is how I debug my scripts.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
woot for toot
16
Years of Service
User Offline
Joined: 13th Apr 2008
Location: a box
Posted: 18th Sep 2008 00:57
well i didnt make the script im just using it from nickydudes guide i cant script at all . anyway there are three scripts to it the triggerzone script
The detonator script


fear my udder of doom!
woot for toot
16
Years of Service
User Offline
Joined: 13th Apr 2008
Location: a box
Posted: 18th Sep 2008 00:59 Edited at: 18th Sep 2008 01:00
and the bareells script
PS. if u havnt figured it out already im trying to get a barrel to explode when u walk int the zone

i think i will try toying with it a little later but right now im out of patience

fear my udder of doom!
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 18th Sep 2008 04:42
Entities will not explode when told to "destroy".

You must subtract health from the entity to get it to explode. This can accomplished through a Mod or through the latest update (it has the command needed)


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
woot for toot
16
Years of Service
User Offline
Joined: 13th Apr 2008
Location: a box
Posted: 19th Sep 2008 02:50
poop im using the free version i was going to buy the full but all m money went to mercs 2 and i still ned to up my paintball gun so it might be awihle

fear my udder of doom!
meteorite
18
Years of Service
User Offline
Joined: 19th Nov 2006
Location: The Capital Wasteland
Posted: 21st Sep 2008 16:28 Edited at: 21st Sep 2008 16:28
also, in the detonator script you are missing something in the conditions, see if you can find it

edit

it's in both of the state 1 lines

I love Jenkins forever :p
There is nothing to fear except fear itself... and FPSC bugs.

Login to post a reply

Server time is: 2024-11-24 13:51:22
Your offset time is: 2024-11-24 13:51:22