Jump to content

Recommended Posts

Posted (edited)

What is wrong with my Script? xD

i finally had some time so i was able to test my script

 

annnnnddd its not working... half working half not

 

Script "ToDo"

1) Turn Lights on

2) Wait

3) Turn Light off

4) if any lights left go to 2)

5) turn off

 

lights turn ON fine but disabling them are not working...

 

Amount of lights change so script is working fine but light and fire are still enabled but they should be disabled xD

 

here is script, few of you know this script already :D

 

  Reveal hidden contents

 

 

but problem is probably around those functioons:

 

Function to Update fire: ( working fine, probably )

 

  Reveal hidden contents

 

 

Function to play OFF: ( not working, change Amount ( VAR AMT ) but objects are still enabled )

 

  Reveal hidden contents

 

 

 

any help pls? xD

why lights stay enabled???

 

 

//Edit:

ok something is bad with GetAt Function...

//Edit2:

ofc. with my GetAt xD QChain_GetAT()

//Edit3:

ok QChain_GetAT() is Good, its something wrong with QChain_GetRandom() xDD

//Edit4:

ok... GetAt was bad and GetRandom was good :D lel xD

 

anyway here is working code:

 

  Reveal hidden contents

 

 

Ty all 4 help :D

 

lel xDD

 

and if anything is still wrong in my code you can post it here :D lel xD

 

#BadEnglish xD

Edited by TobiaszPL
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...