Dynamic modification of 'stateTransitionOnTriggerDown'
by Kimberly Unger · in Technical Issues · 09/16/2003 (9:21 am) · 2 replies
I want to change which inage state sequance is next in a Image sate Sequqance. That is:
in the 'datablock ShapeBaseImageData' I set stateTransitionOnTriggerDown[x] = "Emerge" in the 'Ready' sequance
The "Emerge" sequance has
stateScript[y] = "onEmerge";
The Function OnEmerge has the following code.
%this.stateTransitionOnTriggerDown[x] = "Fire";
When I press the mouse button all I get is the Emerge sequance every time. My best idea as to what is happining is that the "%this.stateTransitionOnTriggerDown[x] = "Fire";" is not change the triggerdown information used by the engine. This would mean I need away to dinmaicly change these values. I can not find any meathod to do this.
Any one have any ideas?
in the 'datablock ShapeBaseImageData' I set stateTransitionOnTriggerDown[x] = "Emerge" in the 'Ready' sequance
The "Emerge" sequance has
stateScript[y] = "onEmerge";
The Function OnEmerge has the following code.
%this.stateTransitionOnTriggerDown[x] = "Fire";
When I press the mouse button all I get is the Emerge sequance every time. My best idea as to what is happining is that the "%this.stateTransitionOnTriggerDown[x] = "Fire";" is not change the triggerdown information used by the engine. This would mean I need away to dinmaicly change these values. I can not find any meathod to do this.
Any one have any ideas?
#2
09/16/2003 (3:06 pm)
Thanks for the ifo, your statement is confirming the conclusion we have come to here. I hope that some one else has some other solution to this problem.
Torque Owner Jarrod Roberson