Uncle
Warcraft Moderator
- Joined
- Aug 10, 2018
- Messages
- 7,866
Alright, so I didn't know how to word this one, but basically the issue is with this trigger:
Here's what the triggers look like that i'm running:
-
Generate Walls
-
Events
-
Time - GenerateTimer expires
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RoomBadPlacement Equal to False
-
-
Then - Actions
-
Game - Display to (All players) for 5.00 seconds the text: (Room + ((String(RoomCount)) + Created!))
-
-------- - --------
-
Set NextPosition = RoomTL[RoomCount]
-
Trigger - Run Wall Horizontal <gen> (ignoring conditions)
-
Custom script: call RemoveLocation( udg_NextPosition)
-
-------- - --------
-
Set NextPosition = RoomBL[RoomCount]
-
Trigger - Run Wall Horizontal <gen> (ignoring conditions)
-
Custom script: call RemoveLocation( udg_NextPosition)
-
-------- - --------
-
Set NextPosition = RoomBL[RoomCount]
-
Trigger - Run Wall Vertical <gen> (ignoring conditions)
-
Custom script: call RemoveLocation( udg_NextPosition)
-
-------- - --------
-
Set NextPosition = RoomBR[RoomCount]
-
Trigger - Run Wall Vertical <gen> (ignoring conditions)
-
Custom script: call RemoveLocation( udg_NextPosition)
-
-------- - --------
-
Trigger - Run Wall Corners <gen> (ignoring conditions)
-
-
-
-
Here's what the triggers look like that i'm running:
-
Untitled Trigger 001
-
Events
-
Conditions
-
Actions
-
For each (Integer A) from 1 to Wall_CreateCount, do (Actions)
-
Loop - Actions
-
-------- Create Wall --------
-
Destructible - Create a Desert Wall (Horizontal) at (NextPosition offset by (Offset, 0.00)) facing (Random angle) with scale 1.11 and variation 4
-
Destructible - Set max life of (Last created destructible) to (Real(GenerateCount))
-
Set GenerateDestructible[GenerateCount] = (Last created destructible)
-
-------- - --------
-
Destructible - Create a Pathing Blocker Wall at (NextPosition offset by ((Offset - 64.00), 0.00)) facing (Random angle) with scale 1.00 and variation 0
-
Destructible - Set max life of (Last created destructible) to (Real(GenerateCount))
-
-------- - --------
-
Destructible - Create a Pathing Blocker Wall at (NextPosition offset by ((Offset + 64.00), 0.00)) facing (Random angle) with scale 1.00 and variation 0
-
Destructible - Set max life of (Last created destructible) to (Real(GenerateCount))
-
Set Offset = (Offset + 256.00)
-
-
-
For each (Integer A) from 1 to Wall_CreateCount, do (Actions)
-
Loop - Actions
-
-------- Create Wall --------
-
Destructible - Create a Desert Wall (Horizontal) at (NextPosition offset by (Offset, 0.00)) facing (Random angle) with scale 1.11 and variation 4
-
Destructible - Set max life of (Last created destructible) to (Real(GenerateCount))
-
Set GenerateDestructible[GenerateCount] = (Last created destructible)
-
-------- - --------
-
Destructible - Create a Pathing Blocker Wall at (NextPosition offset by ((Offset - 64.00), 0.00)) facing (Random angle) with scale 1.00 and variation 0
-
Destructible - Set max life of (Last created destructible) to (Real(GenerateCount))
-
-------- - --------
-
Destructible - Create a Pathing Blocker Wall at (NextPosition offset by ((Offset + 64.00), 0.00)) facing (Random angle) with scale 1.00 and variation 0
-
Destructible - Set max life of (Last created destructible) to (Real(GenerateCount))
-
Set Offset = (Offset + 256.00)
-
-
-
-