its a map and there are milion triggers
(okay not milion but many i will post some i am having doubts about.
Do i need to set point?
CreateWisps
Events
Conditions
Actions
For each (Integer tempInt) from 1 to 6, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player(tempInt)) slot status) Equal to Is playing
((Player(tempInt)) controller) Equal to User
Then - Actions
Set GEN_NumberOfPlayers = (GEN_NumberOfPlayers + 1)
Set WispRegion = (Center of WispSpawn <gen>)
Unit - Create 1 WispType for (Player(tempInt)) at WispRegion facing Default building facing degrees
Set Wisp[tempInt] = (Last created unit)
Custom script: call RemoveLocation (udg_WispRegion)
Else - Actions
i created here for some reason
SpawnHero
Events
Unit - A unit Sells a unit
Conditions
((Sold unit) is A Hero) Equal to True
Actions
For each (Integer tempInt) from 1 to 6, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Wisp[tempInt] Equal to (Buying unit)
Then - Actions
Unit - Remove Wisp[tempInt] from the game
Set HERO[tempInt] = (Sold unit)
Selection - Clear selection for (Player(tempInt))
Selection - Select HERO[tempInt] for (Player(tempInt))
Unit - Move HERO[tempInt] instantly to (Center of hero teleport region <gen>), facing 270.00 degrees
Set tempPoint = (Position of HERO[tempInt])
Player - Limit training of Heroes to 0 for (Player(tempInt))
Camera - Pan camera for (Player(tempInt)) to tempPoint over 0.00 seconds
Custom script: call RemoveLocation (udg_tempPoint)
Else - Actions