View Single Post
Old 06-28-2013, 03:16 PM   #10
Fair Strides 2
Junior Member
Fair Strides 2's Avatar
Join Date: Jan 2012
Location: Oregon, United States
Posts: 495
Current Game: Master of Orion 2
Originally Posted by duster View Post
You missunderstood me.I wanted to know if Fallen Guardian ment that i should make another band with the other script(wich works perfectly).I wish to know if there is a way not to make it.Meaning to have one band do both actions just by being pressed a second time.
Oh! In that case:

You'll need to make a global boolean(Pretty easy, but don;t have the time to explain it now) and check it each time the band is used. For example:
void main()
    if(GetGlobalBoolean("Armband_is_on") == 1)
        <Deactivate meditating>
        SetGlobalBoolean("Armband_is_on", 0);
        return; // Makes it so we don't do the part below, otherwise you'd never leave
    if(GetGlobalBoolean("Armband_is_on") == 0)
       <Activate meditating>
       SetGlobalBoolean("Armband_is_on", 1);

Always remember modders: "Quality= Effort*Time"

Originally Posted by Jae Onasi
Hi! I messaged him on Facebook and got this answer: "Sure if he wants to release a new KSE, no problem. I'm surprised he was able to find all the perl modules. I released them a long time ago but they were buried somewhere in the KSE thread." So, go for it--please give him credit for the original work, though!
KSE 3.3.4 is LIVE!!! Check it out here.

12/13/13 -- Fixed KSE 3.3.4 bugs. Please check the above link.
Fair Strides 2 is offline   you may: quote & reply,