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 / I need help with variables.

Author
Message
uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 12th Apr 2011 17:55 Edited at: 13th Apr 2011 09:56
This is for my Nostalgic Remake entry.

I am trying to make it so that once both Barons of Hell die the exit is usable, as well as activating particles.

I am trying to make it so if my variable (exit) is equal to 2, the Exit is usable ect.

This is the particle script


This it the particle appear script


And this is the Baron destroy script


Win Zone Script



So if you kill a baron the variable 'exit' increases by 1.
once the variable 'exit' is equal to 2 the particle and winzone start (usable)

I have NO experiance with variables and the entry is due in soon so I need help.

[edit]I have updated the scripts

Ched80
14
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 12th Apr 2011 23:40
hmmm since you are a competitor should I help you???

Of course I wil!

First problem is that you keep using 'dimvar'. This declares a variable for use and you only ever need to call it once. Probably best to call it in a spare triggerzone or something. You can then use varequal, vargreater, etc. Without calling the variable first. For example:
:varequal=exit 1
Is ok.

[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]
Ched80
14
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 12th Apr 2011 23:43
also in the particle script you have 3 colons on the 2nd line. The middle one should be removed.

[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]

Login to post a reply

Server time is: 2024-11-24 11:48:56
Your offset time is: 2024-11-24 11:48:56