Hello again
Alright, as the title suggests, i did a thing and as a beginner trigger dude, i feel like this will leak if i just use it as it is, am i wrong?
Alright, as the title suggests, i did a thing and as a beginner trigger dude, i feel like this will leak if i just use it as it is, am i wrong?
-
SpawnLevel1Mobs
- Events
- Conditions
-
Actions
- Set VariableSet SelectedMobGroup = (Units of type No unit-type)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- EncounterSelection Equal to 1
-
Then - Actions
- Set VariableSet SelectedMobGroup = Zone1Thieves
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
-
Then - Actions
- Set VariableSet MobSpawnPoints = (Random point in Zone1EncounterArea <gen>)
- Unit - Create (Random integer number between 0 and ((NumberOfPlayers / 2) + 1)) (Unit-type of (Random unit from SelectedMobGroup)) for Neutral Hostile at MobSpawnPoints facing Default building facing degrees
- Custom script: call RemoveLocation (udg_MobSpawnPoints)
- Else - Actions
-
If - Conditions