Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Switching units for a shapeshifter hero
Switching units for a shapeshifter hero
Nov 8 2012, 8:59 am
By: FlameViper  

Nov 8 2012, 8:59 am FlameViper Post #1



How do I switch units effectively? The problem is that sometimes the units might glitch and more than 1 will end up on the playfield.
There are 8 different units which I have to switch.



None.

Nov 8 2012, 9:05 am Azrael Post #2



Have a storage area for all the units somewhere, and when it's time to switch, do a "center PlayerLocation on Unit X", "move Unit X from PlayerLocation to Storage", and "move Unit Y from Storage to PlayerLocation". This is assuming that Unit X is the unit you were using already, and Unit Y is the one you're switching to.

If you don't want them to be able to see the storage area, you can just give Unit X to another player (like Player 9) before moving to to storage, and giving the new unit to them after it is moved out of storage.




Nov 8 2012, 1:57 pm NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

What Az said will work but make sure you pay attention to details such as:

"Unit x" means that you move a specific unit type, e.g. Terran Space Marine, as opposed to [men] or [any unit].

Another reason why you might end up with more than 1 units on the playing field is that the original unit might not successfully move to the storage area. To ensure it works do the "center PlayerLocation on Unit X" in the same trigger that moves the unit to storage. Also make sure storage is large enough.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:39 pm]
Corbo -- I wouldn't go to say it's unbelieveable but silly it definitely is
[11:39 pm]
Corbo -- but yes, the plot is silly
[11:38 pm]
Corbo -- don't hate
[11:38 pm]
Corbo -- Salazar was great
[11:25 pm]
KrayZee -- The President of the United States only sending only 1 man equipped with a pistol to rescue his daughter? Then Leon has to deal with midget Napoleon, how can you take that seriously? :P
[11:23 pm]
KrayZee -- The plot in Resident Evil 4? It's just too silly.
[11:07 pm]
Corbo -- You don't find that believeable?
[07:38 pm]
Wing Zero -- I played 6 for a bit but wasn't too happy with it. Haven't played another one since then though.
[2019-12-14. : 8:18 am]
KrayZee -- If Resident Evil 4 is getting a remake, they better make the plot believable. Like actually send an entire team to rescue the President's daughter but the team was ambushed and all equipment were lost. Leon is the only survivor and only kept a handgun. Later he would hitchhike and get picked up. He then asked to be dropped off the nearest town.
[2019-12-14. : 4:01 am]
RIVE -- The significance is lessened by the probability of future RE titles ignoring either conclusion in favor of a rewrite anyway.
Please log in to shout.


Members Online: Roy, bghty1, Liuaq30