Category | Editor |
Created | 31.01.2017 06:04 |
Anthony Queen (tqueen113) | 31.01.2017 06:06 |
---|---|
Hello, I am trying to figure out how to make a light come on in game at 2100 hours instead of being on all the time. Is this something that needs a script to work or am I missing something? Thanks for any advice. |
Bilbo Beutlin (BBeutlin) | 31.01.2017 08:07 |
---|---|
Why didn't you examine the usual lights on a map, eg. street lamps? Yes, they are controlled by a script. They use the user attribute: <Attribute name="onCreate" type="scriptCallback" value="Nightlight2.onCreate"/> |
Anthony Queen (tqueen113) | 31.01.2017 13:42 |
---|---|
Thank you for your input, I did look at the original map lights but only in GE not in the script as I am kinda new at this and not sure what script to look at of how to go about adding line to make them work. I am trying to teach myself as I go and this forum is great for learning. Thank you! |
Anthony Queen (tqueen113) | 31.01.2017 14:28 |
---|---|
I found it! I was looking at the light itself and not the transform group, I tried it on my map and it works perfect! Thank you so much for your help! |
Note: Log in to post. Create a new account here.