Jump to content
Sign in to follow this  

Unit switchable at proper time

Recommended Posts


I'm looking for a way to set some switchable unit available after a condition (maybe a trigger)

What command you think of best?

* addSwitchableUnit (maybe is a unit non present in game till that moment?)

* enableTeamSwitch (conditioned for one or more units)

* removeSwitchableUnit (united to addSwitchableUnit)

* teamSwitchEnabled (seems too rigid)

In a SP mission, is better setting multiple units playable in the editor and then hiding them, or specify only the player and set unit by unit playable at a command?

I want that in a part of the story you can play only one unit, and when occurs a condition, you can choose other characters by the teamswitch menu.

I would like also that you can return to the original character at will.

Let's go with suggestions and examples.

Thank you in advance :)

---------- Post added at 10:45 PM ---------- Previous post was at 10:23 PM ----------

Wow, I tried addSwitchableUnit unitName and it works.

A normal mission with a player and in a trigger onact: addSwitchableUnit unitName; addSwitchableUnit unitName;

I think you can do it with an array too.

You can change back to the original player and so on.

Sorry for this post that maybe can stay as a reminder.

If you have suggestions or know any kind of related bug, please post here.


Edited by puzzola

Share this post

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
Sign in to follow this