UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

how to turn lights on/off in a simple increment/decrement script? [SOLVED]

broken avatar :(
Created 9 months ago
by Phil168912
0 Members and 1 Guest are viewing this topic.
broken avatar :(
broken avatar :(
Location: englandlondon
Date Registered: 16 November 2020
Last active: 4 days ago
Forum Rank
Legless Crawler
Primary Group
Community Scripter
My Groups
My Contact & Social Links
Phil168912's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
so the script i want the light control to go in works pretty much like this-

whatever = 0;
    if(whatever > 0)
        //light "on" code here
    if(whatever == 0)
        //light off code here
    wait .5;

i put the above example of how my script works so you can see that adding a trigger to the light is no good. (least i think thats the case anyway).

any help would be appreciate.


i solved this myself. if you want to know how just hit me up on ugx waw discord [email protected]
Last Edit: March 27, 2021, 06:06:29 pm by Phil168912

Loading ...