Juno**
Member
- Reaction score
- 6
hey guys, I currently have a system (well i like to call it that way even if it is not) that creates random items in random regions... the problem is that sometimes, two items shows up in a single region.. could you guys help? I just want one item per region...
and with the neutral wander, I placed it on creeps.. but, wander is making these creeps "wander" even if they are still in a battle... is there any way to stop this?
BTW, here's my item spawn trigger..
EDIT: well that was pretty stupid, nvm the wander thingy..
BTW, here's my item spawn trigger..
Trigger:
- Item Types
- Events
- Conditions
- Actions
- Set Floor_Item_Types[1] = Tome of Power
- Set Floor_Item_Types[2] = Tome of Power
- Set Floor_Item_Types[3] = Tome of Power
- Set Floor_Item_Types[4] = Tome of Power
- Set Floor_Item_Types[5] = Tome of Power
Trigger:
- Item Spawn
- Events
- Time - Every 20.00 seconds of game time
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Floor_Item_Aquired Greater than 0
- Then - Actions
- Game - Display to (All players) the text: (Item Created: + (String(Floor_Item_Aquired)))
- For each (Integer A) from 1 to Floor_Item_Aquired, do (Actions)
- Loop - Actions
- Item - Create Floor_Item_Types[(Random integer number between 1 and 5)] at (Center of Creep_Spawn_Points[(Random integer number between 1 and 31)])
- Set Floor_Item_Aquired = 0
- Else - Actions
Trigger:
- Item Aquisition
- Events
- Unit - A unit Dies
- Conditions
- (Item-class of (Item being manipulated)) Equal to Powerup
- Actions
- Set Floor_Item_Aquired = (Floor_Item_Aquired + 1)
EDIT: well that was pretty stupid, nvm the wander thingy..