My mission like i said before is to create a moba/dota style map. In this map you would start as a hero unit. This hero unit will then buy his tank and keep upgrading his tank from time to time, whenever the user can (because he has the money to purchase a new tank) and he feels like. Once the hero unit purchase this new tank, he will not be the old hero unit anymore and hell begin being this new tank he purchased and whenever he purchasen a new tank, this is the dynamic that will happen. You start as a pilot, you buy your tank/plane and then you won't be that pilot anymore because you're the new tank. So how can i establish this dynamic. Is this a trigger or a data type coding?
Depends on how you've coded your game, if you have a player unit variable you update it to the new unit while removing the old unit. If you replace the unit you instead use an ability with a cost on the command card, but doesn't create a unit.
My mission like i said before is to create a moba/dota style map. In this map you would start as a hero unit. This hero unit will then buy his tank and keep upgrading his tank from time to time, whenever the user can (because he has the money to purchase a new tank) and he feels like. Once the hero unit purchase this new tank, he will not be the old hero unit anymore and hell begin being this new tank he purchased and whenever he purchasen a new tank, this is the dynamic that will happen. You start as a pilot, you buy your tank/plane and then you won't be that pilot anymore because you're the new tank. So how can i establish this dynamic. Is this a trigger or a data type coding?
Purchasing a new tank is data, swapping out the old one is trigger.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
@willuwontu: Go
Hi Willuwontu. So do you know the trigger code by any chance? Or know a map or a friend? Let me know ok.
Depends on how you've coded your game, if you have a player unit variable you update it to the new unit while removing the old unit. If you replace the unit you instead use an ability with a cost on the command card, but doesn't create a unit.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)