View Single Post
Old 07-01-2013, 01:07 PM   #11
duster
Rookie
 
duster's Avatar
 
Join Date: Sep 2012
Location: High in the sky...
Posts: 217
Current Game: Fallout NV
Damn!First i wasn't able to go to the site and then my Windows broke down.Never the less everything is fixed now.
Quote:
Originally Posted by Fair Strides 2 View Post
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:
Code:
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);
    }
}
*sign*Unfortunetly it didn't change anything.Thank's for the help though.


duster is offline   you may: quote & reply,