| 09-30-2003, 03:18 PM | #1 |
hi i got this worker system were u press ESC and then ur worker is selected... but then after the worker has been selected it has to been detected as a race choice so u will receive 1 special hero from the same race as the worker... plz help me.... with this trigger my TD will be done in no time :D so plz help me finish this :D |
| 09-30-2003, 11:11 PM | #2 |
providing you have one worker do Event - Player skips cini Condition - Player = ? Action - Select UNIT for player ?, if select is a (wisp,peon,peasant,acolyte) then do (create UNIT at AREA for player ?) something like that. |
| 10-01-2003, 09:59 AM | #3 |
yea but i need an exact trigger... i know u can make it so by having a trigger executed on each player but it would be more nice if i could make this trigger with 1 integer array with an other integer that determ the player that has selected a worker like Worker[tempinteger] = 1 (1 race) Worker[tempinteger] = 2 (2 race) Worker[tempinteger] = 3 (3 race) Worker[tempinteger] = 4 (4 race) Worker[tempinteger] = 5 (5 race) the trigger should then start another trigger if worker[tempinteger] is equal to 1, then create 1 unit random 1 to 5 for player tempinteger at player Destination how should i get this wor correct ? |
| 10-01-2003, 10:59 AM | #4 |
Need to be more clear. Are you trying to have it select a random Hero (out of 5) when the player selects a builder type? |
| 10-01-2003, 11:43 AM | #5 |
i got 5 workers..... each worker represent a race... the race have 5 heroes.. so when u chose a worker u have 1 of the 5 heroes created.. so yea created 1 random hero out 5 :D do u think u can help me now ? |
| 10-02-2003, 03:51 PM | #6 |
dont any one know how to make this trigger ? cmon guys u better than that .... |
| 10-02-2003, 06:16 PM | #7 |
well thx for nothing guys.. now i used the true force of me and i made the trigger work so no need for reply's |
