Moderator
M
Moderator
17:34, 15th Oct 2009
ap0calypse: Rejected
Post #1 covers everything
ap0calypse: Rejected
Post #1 covers everything
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
(1 ratings)
Approved
Mechs Copy

Events


Unit - A unit enters Mech Copy <gen>

Conditions


(Unit-type of (Entering unit)) Equal to Wisp

Actions


Unit - Create 1 Mechs for (Owner of (Entering unit)) at (Center of Builder Startt <gen>) facing Default building facing degrees


Unit - Explode (Entering unit)
Mechs Copy

Events


Unit - A unit enters Mech Copy <gen>

Conditions


(Unit-type of (Entering unit)) Equal to Wisp

Actions


Set loc = (Center of Builder Startt <gen>)


Unit - Create 1 Mechs for (Owner of (Entering unit)) at loc facing Default building facing degrees


Custom script: call RemoveLocation(udg_loc)


Unit - Explode (Entering unit)
Melee Initialization

Events


Map initialization

Conditions

Actions


Unit - Create 1 Footman for Player 1 (Red) at (Player 1 (Red) start location) facing Default building facing degrees


Unit - Create 1 Footman for Player 2 (Blue) at (Player 2 (Blue) start location) facing Default building facing degrees


Unit - Create 1 Footman for Player 3 (Teal) at (Player 3 (Teal) start location) facing Default building facing degrees


Unit - Create 1 Footman for Player 4 (Purple) at (Player 4 (Purple) start location) facing Default building facing degrees


Unit - Create 1 Footman for Player 5 (Yellow) at (Player 5 (Yellow) start location) facing Default building facing degrees
Melee Initialization

Events


Map initialization

Conditions

Actions


For each (Integer A) from 1 to 5, do (Actions)



Loop - Actions




Set loc[1] = ((Player((Integer A))) start location)




Unit - Create 1 Footman for (Player((Integer A))) at loc[1] facing Default building facing degrees




Custom script: call RemoveLocation(udg_loc[1])
Dialog Buttons

Events


Dialog - A dialog button is clicked for Dialog

Conditions

Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Clicked dialog button) Equal to DialogButton[1]



Then - Actions




Set loc[1] = (Center of (Playable map area))




Unit - Create 1 Ranger for (Triggering player) at loc[1] facing Default building facing degrees




Custom script: call RemoveLocation(udg_loc[1])




Game - Display to (All players) for 8.00 seconds the text: (|c00444488 + ((Name of (Triggering player)) + '|r has chosen the Ranger))



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Clicked dialog button) Equal to DialogButton[2]



Then - Actions




Set loc[1] = (Center of (Playable map area))




Unit - Create 1 Warrior for (Triggering player) at loc[1] facing Default building facing degrees




Custom script: call RemoveLocation(udg_loc[1])




Game - Display to (All players) for 8.00 seconds the text: (|c00444488 + ((Name of (Triggering player)) + '|r has chosen the Warrior))



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Clicked dialog button) Equal to DialogButton[3]



Then - Actions




Set loc[1] = (Center of (Playable map area))




Unit - Create 1 Mage for (Triggering player) at loc[1] facing Default building facing degrees




Custom script: call RemoveLocation(udg_loc[1])




Game - Display to (All players) for 8.00 seconds the text: (|c00444488 + ((Name of (Triggering player)) + '|r has chosen the Mage))



Else - Actions
Kick

Events


Player - Player 1 (Red) types a chat message containing -kick blue as An exact match

Conditions

Actions


Game - Defeat Player 2 (Blue) with the message: LOLOL NOOB!!!!
Kick

Events


Player - Player 1 (Red) types a chat message containing -kick teal as An exact match

Conditions

Actions


Game - Defeat Player 3 (Teal) with the message: LOLOL NOOB!!!!
Kick

Events


Player - Player 1 (Red) types a chat message containing -kick purple as An exact match

Conditions

Actions


Game - Defeat Player 4 (Purple) with the message: LOLOL NOOB!!!!
Init

Events


Map initialization

Conditions

Actions


Set Color[1] = blue


Set Color[2] = teal


Set Color[3] = purple


Set Color[4] = yellow


Set Color[5] = orange


Set Color[6] = green
Kick

Events


Player - Player 1 (Red) types a chat message containing -kick as A substring

Conditions

Actions


For each (Integer i) from 1 to 6, do (Actions)



Loop - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






(Entered chat string) Equal to (-kick + Color[i])





Then - Actions






Game - Defeat (Player((i + 1))) with the message: You have been kicked






Game - Display to (All players) for 7.00 seconds the text: (|c00444488 + ((Name of (Player((i + 1)))) + |r has been kicked))





Else - Actions
Kick

Events


Player - Player 1 (Red) types a chat message containing -kick as A substring

Conditions

Actions


For each (Integer i) from 1 to 6, do (Actions)



Loop - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






(Entered chat string) Equal to (-kick + (String((i + 1))))





Then - Actions






Game - Defeat (Player((i + 1))) with the message: You have been kicked






Game - Display to (All players) for 7.00 seconds the text: (|c00444488 + ((Name of (Player((i + 1)))) + |r has been kicked))





Else - Actions
