what happenes is that every once in a while you will freeze and no be able to move i noticed that during this time u can unfreeze you self once u cast a spell and also while you are frozen the stop button is highlighted or whatever does anyone know what is going on and how to fix it???
theres alot of triggers in map but here they are
Thoughs r most of the triggers in my map all others are timers and stuff thx for the help
theres alot of triggers in map but here they are
Code:
Spawn Sheep
Events
Map initialization
Conditions
(Player 1 (Red) slot status) Equal to Is playing
Actions
Unit - Create 1 Sheep for Player 1 (Red) at (Center of Red Spawn <gen>) facing Default building facing degrees
Code:
Destroy
Events
Player - Player 1 (Red) types a chat message containing -d as An exact match
Conditions
Actions
Set SelectedGroup = (Units currently selected by (Triggering player))
Unit Group - Pick every unit in SelectedGroup and do (Actions)
Loop - Actions
If ((Owner of (Picked unit)) Equal to (Triggering player)) then do (Unit - Kill (Picked unit)) else do (Custom script: call DestroyGroup(udg_SelectedGroup))
Code:
Wollf Spawn
Events
Time - Elapsed game time is 30.00 seconds
Conditions
(Player 9 (Gray) slot status) Equal to Is playing
Actions
Unit - Create 1 Cairne Bloodhoof for Player 9 (Gray) at (Center of grey spawn <gen>) facing Default building facing degrees
Code:
Wolf Respawn
Events
Unit - A unit owned by Player 9 (Gray) Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to Cairne Bloodhoof
Then - Actions
Unit - Create 1 Cairne Bloodhoof for Player 9 (Gray) at (Center of (Playable map area)) facing Default building facing degrees
Else - Actions
Do nothing
Code:
Spawn Sheep Spirit
Events
Unit - A unit owned by Player 1 (Red) Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to Sheep
Then - Actions
Unit - Create 1 Sheep Spirit for Player 1 (Red) at (Center of Sheep Spirit Spawn <gen>) facing Default building facing degrees
Else - Actions
Do nothing
Code:
Sheep Spirit Leaves Region
Events
Unit - A unit leaves Sheep Spirit Spawn <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to Sheep Spirit
Then - Actions
Unit - Move (Triggering unit) instantly to (Center of Sheep Spirit Spawn <gen>)
Else - Actions
Do nothing
Code:
Sheep Spirit dies
Events
Unit - A unit owned by Player 1 (Red) Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to Sheep Spirit
Then - Actions
Unit - Create 1 Sheep for Player 1 (Red) at (Random point in Sheep Spirit Spawn <gen>) facing Default building facing degrees
Else - Actions
Do nothing
Code:
Wolf Income
Events
Unit - A unit owned by Player 1 (Red) Dies
Unit - A unit owned by Player 2 (Blue) Dies
Unit - A unit owned by Player 3 (Teal) Dies
Unit - A unit owned by Player 4 (Purple) Dies
Unit - A unit owned by Player 5 (Yellow) Dies
Unit - A unit owned by Player 6 (Orange) Dies
Unit - A unit owned by Player 7 (Green) Dies
Unit - A unit owned by Player 8 (Pink) Dies
Conditions
Actions
Player - Add 5 to Player 9 (Gray) Current gold
Player - Add 5 to Player 10 (Light Blue) Current gold
Player - Add 5 to Player 11 (Dark Green) Current gold
Player - Add 5 to Player 12 (Brown) Current gold
Code:
Income
Events
Time - Every 3.00 seconds of game time
Conditions
Actions
Player - Add 5 to Player 1 (Red) Current gold
Player - Add 5 to Player 2 (Blue) Current gold
Player - Add 5 to Player 3 (Teal) Current gold
Player - Add 5 to Player 4 (Purple) Current gold
Player - Add 5 to Player 5 (Yellow) Current gold
Player - Add 5 to Player 6 (Orange) Current gold
Player - Add 5 to Player 7 (Green) Current gold
Player - Add 5 to Player 8 (Pink) Current gold
Code:
Wood Income
Events
Time - Every 40.00 seconds of game time
Conditions
Actions
Player - Add 1 to Player 1 (Red) Current lumber
Player - Add 1 to Player 2 (Blue) Current lumber
Player - Add 1 to Player 3 (Teal) Current lumber
Player - Add 1 to Player 4 (Purple) Current lumber
Player - Add 1 to Player 5 (Yellow) Current lumber
Player - Add 1 to Player 6 (Orange) Current lumber
Player - Add 1 to Player 7 (Green) Current lumber
Player - Add 1 to Player 8 (Pink) Current lumber
Code:
Money Farms
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Game - Display to (All players) the text: Created By - l)ark]...
For each (Integer A) from 1 to (Number of players), do (Actions)
Loop - Actions
Set SomeGroup = (Units in (Playable map area) matching (((Unit-type of (Matching unit)) Equal to Money Farm) and ((Owner of (Matching unit)) Equal to (Player((Integer A))))))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in SomeGroup) Equal to 1
Then - Actions
Player - Set (Player((Integer A))) Current gold to (((Player((Integer A))) Current gold) + 5)
Else - Actions
Player - Set (Player((Integer A))) Current gold to (((Player((Integer A))) Current gold) + 5)
Player - Set (Player((Integer A))) Current gold to (((Player((Integer A))) Current gold) + (2 x ((Number of units in SomeGroup) - 1)))
Custom script: call DestroyGroup(udg_SomeGroup)
Code:
Kick
Events
Player - Player 1 (Red) types a chat message containing -Kick 2 as An exact match
Conditions
Actions
Set Player[2] = Player 2 (Blue)
Set Player[3] = Player 3 (Teal)
Set Player[4] = Player 4 (Purple)
Set Player[5] = Player 5 (Yellow)
Set Player[6] = Player 6 (Orange)
Set Player[7] = Player 7 (Green)
Set Player[8] = Player 8 (Pink)
Set Player[9] = Player 9 (Gray)
Set Player[10] = Player 10 (Light Blue)
Set Player[11] = Player 11 (Dark Green)
Set Player[12] = Player 12 (Brown)
Unit Group - Pick every unit in (Units owned by Player[2]) and do (Unit - Remove (Picked unit) from the game)
Code:
Player leaves
Events
Player - Player 1 (Red) leaves the game
Player - Player 2 (Blue) leaves the game
Player - Player 3 (Teal) leaves the game
Player - Player 4 (Purple) leaves the game
Player - Player 5 (Yellow) leaves the game
Player - Player 6 (Orange) leaves the game
Player - Player 7 (Green) leaves the game
Player - Player 8 (Pink) leaves the game
Player - Player 9 (Gray) leaves the game
Player - Player 10 (Light Blue) leaves the game
Player - Player 11 (Dark Green) leaves the game
Player - Player 12 (Brown) leaves the game
Conditions
Actions
Set Temporarygroup = (Units owned by (Triggering player))
Unit Group - Pick every unit in Temporarygroup and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Custom script: call DestroyGroup( udg_Temporarygroup )
Game - Display to (All players) the text: ((Name of (Triggering player)) + Has Left The Game...He Is Now A FUCKING FAGGIT)
Thoughs r most of the triggers in my map all others are timers and stuff thx for the help