Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Patch for powered units (issue 617)
#14
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.
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.
Reply


Messages In This Thread
Patch for powered units (issue 617) - by A Mystery Guest - 20.02.2011, 21:49:56
RE: Patch for powered units (issue 617) - by A Mysterious Guest - 21.02.2011, 02:40:43
RE: Patch for powered units (issue 617) - by A Mysterious Guest - 22.02.2011, 02:11:47
RE: Patch for powered units (issue 617) - by A Mysterious Guest - 22.02.2011, 18:02:57
RE: Patch for powered units (issue 617) - by Marshall - 23.02.2011, 11:43:24
RE: Patch for powered units (issue 617) - by Mysterious Guest - 04.06.2011, 11:37:51
RE: Patch for powered units (issue 617) - by Mysterious Guest - 06.06.2011, 17:00:26
RE: Patch for powered units (issue 617) - by hogo - 07.06.2011, 14:44:46



Users browsing this thread: 1 Guest(s)