Thanks for the sample lines: that is Help.
I assume these lines of code do work inGame...
Do not mind the firing-script stuff, it's rather uncomplicated and I do know how to make it work: I'll be at your service if for instance one of your anims needs a Back & forth operation; kind of stuff when you click once and get the anim played forward and then go back to "zero" state, on a timed basis and without having to click twice.
Easy I say I'll be
gladly of any help.
Sample Script lines, assume it's go-for-it && then-go-backwards anim, timed.
;ScriptAnim trick by PeacePunk
;get argument passed by the [this] lines in the Cpp:
_myObject = _this select 0
;Animate the object to full -to the "1" value
_myObject animate ["AnimFromCPP",1]
;wait
~0.4
;Go back to previous state -to the "0" value
_myObject animate ["AnimFromCPP",0]
;Gerrof
exit
I see a wrning light anim in your code, and also that this anim isn't activated in the useraction class: I can help there.
And now, maybe the trick that kills: It's "JAWA" class...
And I only got component1, 2, ... in the GeoLod, no named properties: the addon is behaving "normal" otherwise.
Please tell me more about it !