23.02.2011, 11:43:24
If the way in which objects are disabled is the same for all these different things, then can you just add a counter of "how many things are disabling me"? Each disable-action calls a common function which increases the counter. Then, as each one dissipates, call a common function which decreases the counter and, if it has reached zero, re-enable the object.
The uncommon effects of the disable (sparking/colouring/anims/etc) should still be handled by the thing doing the disabling.
The uncommon effects of the disable (sparking/colouring/anims/etc) should still be handled by the thing doing the disabling.
Ever wondered what the hell is going on?
Believe me friend you're not the only one.
--Lysdexia
Check out Launch Base for RA2/YR - http://marshall.strategy-x.com
Also home to the Purple Alert mod, 1.002 UMP, and the YR Playlist Manager.
Believe me friend you're not the only one.
--Lysdexia
Check out Launch Base for RA2/YR - http://marshall.strategy-x.com
Also home to the Purple Alert mod, 1.002 UMP, and the YR Playlist Manager.