Quantcast

[CODE] Would this code be correct inside Test Map?

Hello! I am wondering if this code here is adequate to, when _Button1’s state changes, that a part will pulse to a darker color, then a few seconds later an object will rotate about the X-axis. Sorry if that isn’t clear, and I am new to coding with EventString so sorry if the code is quite clunky or even completely wrong. Also, apologies if this isn’t the right topic to post this under.

1 Like

Lib.btnFuncs[BUTTONNUMBERONLY]
Also Lib.Map.Light is referring to a member called Light in the map model, make sure the Light member is in the map model
Everything else is fine I think

2 Likes

Awesome! The light part is indeed in the model, thank you so much! And I’ll change the button part to be the button number only, thank you for the assistance!