Someone HELP me creat a 4 hero selection system><

Status
Not open for further replies.

lilchinaman

L

lilchinaman

Hi:
I am new to map making...but i really like to know how to make a hero selection system just like X-Hero Siege..or haev a sheep and walk into a circle...something like that for my upcoming map.

i would b really aprriciated if someone teach me how to do it..thx><
 
Its just a sequence if conditions...

For each hero:

Event: unit within range- a unit comes within range of (hero)

Action: if/then/else
if: Player comparison- owner of triggering unit is equal to (player)=true
then: Unit- Move (hero) to (center of region)
then: Unit- Change ownership of (hero) to (owner of triggering unit)
else: do nothing

repeat if/then/else sequence for every player, then repeat this whole trigger for every hero.
Good luck.
-VGsatomi
 
What i would do, to make life easier and not have to make so many triggers, is use a loop function. I am just going to assuem you with have 12 people playing this map.

Event: a unit comes within range of (hero)

Action: For each interger A from 1 to 12 do:
-IF/THEN/ELSE (multiple functions)
IF:
-Owner of triggering unit is equal to Player(interger A)
THEN:
-Change ownership of (hero) to owner of triggering unit
-Move (hero) to (center of region)
-Remove triggering unit from the game.
ELSE:
-Do nothing.

This will make the trigger work for each of the 12 players. But if you wanted multiple heroes, you would have to make more triggers, unless you wanted to put the heroes into arrays, then you could just use this one trigger.
 
Thank you guys very much...i really appresciate it..


i will try my best to follow thesse directions....once again thanks :lol:
 
i would also like help on how to maek heros get money...u know like if u dunt do anything u gay like 10$ every second kind of thing...without actually going out and kiilling stuff....plz help ><
 
with something like that you would make make a simple trigger like this. I will assume there are 12 players and that you want them to earn 10 gold every 3 seconds.

EVENT:
-Periodic event every 3 seconds

ACTIONS:
For each interger A from 1 to 12 do:
-Player Property - Set player(intergerA) gold = player(intergerA)gold + 10


thats it = )
 
Status
Not open for further replies.
Back
Top