I was working on my first RPG map (aquatic-themed) and I've run into a problem.
I wish to swap the model of my character once it hits level 5, and then at least two more times later on until it reaches it's maximum level of 42.
I've tried a working trigger that swaps the model at the correct level, but the problem is that the model reverts when the hero respawns (and perhaps when the game is rejoined). Another thing tried was to research a hidden upgrade via a trigger, that functions like the roach's model swap. This solution only set the upgrade level however, and the visual effect was either hidden within the existing model or nonexistent. I've also looked at reference RPG maps, and it's odd to see how rarely this feature is used. Currently, I am trying to work on a morph solution, but I cannot find out how to base a validator (to control the issue order) on levels.
Any ideas of what I can do? I know this is possible, as I see it in other RPGs (that I cannot download) like the Dragon RPG.
I was working on my first RPG map (aquatic-themed) and I've run into a problem.
I wish to swap the model of my character once it hits level 5, and then at least two more times later on until it reaches it's maximum level of 42.
I've tried a working trigger that swaps the model at the correct level, but the problem is that the model reverts when the hero respawns (and perhaps when the game is rejoined). Another thing tried was to research a hidden upgrade via a trigger, that functions like the roach's model swap. This solution only set the upgrade level however, and the visual effect was either hidden within the existing model or nonexistent. I've also looked at reference RPG maps, and it's odd to see how rarely this feature is used. Currently, I am trying to work on a morph solution, but I cannot find out how to base a validator (to control the issue order) on levels.
Any ideas of what I can do? I know this is possible, as I see it in other RPGs (that I cannot download) like the Dragon RPG.
So, when the hero respawn the model revert back ?
Perhaps make a trigger to validate that , if the unit reach Level xx, select spawned units, swap model to desired model ?
My projects : The Hammer of Dawn, Noir : Automata, Noir : Evolution, Noir : Ascension, Hammer of Dawn Revamp
Many awesome projects : Custom Campaign Initiative
Something for the community : A Small Letter of Thanks, SC2mapster Classic Skin - Alevice
The model reverts upon respawn.
How can you tie a respawn to a variable used in a comparison? Is there an event that checks for that?
In this map, I actually decided to use a morph ability instead. However, I'll keep this thread open, as I am interested in a possible solution.
Well , perhaps.
If hero unit's level increased, add 1 to Integer[level]
If hero unit died, run respawn trigger.
If hero unit respawned/arrived at any location at map
check if
If Integer [level] = what ever level you want your units to change model.
then
select hero unit in map, swap model to desired model.
My projects : The Hammer of Dawn, Noir : Automata, Noir : Evolution, Noir : Ascension, Hammer of Dawn Revamp
Many awesome projects : Custom Campaign Initiative
Something for the community : A Small Letter of Thanks, SC2mapster Classic Skin - Alevice