Evote
New Member
- Reaction score
- 4
Ok Post problems that i will try to answer
Ok this is my second attempt at making a help thread.
*post any problems stuff with triggers which i can help you with.
Just a couple of common problems:
SLIDING (either use Aceharts or this
Turning
Make Unit Group.
Multiboards with a meter like in pew pew fly fly: lllllllllllllllllllllllllll
Use L's not | L's are closer together.
Creation
A The meter(llllllllllllllllllllll)
Player Leaves
Minimum Level
Refresh The board
i hope some of this helps.
P.s this is not for rep and the reason for this is so people like 'xxseerxx' also known as 'Warravan' which i know in warcraft can post there troubles.
if you have a comment which is not productive Don't post it.
If you find a leak ect post corrections.
i will not answer straight away at friends place.
Ok this is my second attempt at making a help thread.
*post any problems stuff with triggers which i can help you with.
Just a couple of common problems:
SLIDING (either use Aceharts or this
PHP:
SLIDE
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in SLIDERS and do (Actions)
Loop - Actions
Set UP[(Player number of (Picked player))] = (Position of (Picked unit))
If ((Terrain type at UP[(Player number of (Picked player))]) Equal to Northrend - Ice) then do (Set SLIDE[(Player number of (Picked player))] = (UP[(Player number of (Picked player))] offset by speed towards (Facing of (Picked unit)) degrees)) else do (Set SLIDE[(Player number of (Picked player))] = (Position of (Picked unit)))
If ((Terrain type at UP[(Player number of (Picked player))]) Equal to Northrend - Ice) then do (Unit - Move (Picked unit) instantly to SLIDE[(Player number of (Picked player))]) else do (Set SLIDE[(Player number of (Picked player))] = (Position of (Picked unit)))
If (((Terrain type at UP[(Player number of (Picked player))]) Equal to Cityscape - Black Marble) or ((Terrain type at UP[(Player number of (Picked player))]) Equal to Northrend - Ice)) then do (Do nothing) else do (Unit - Kill (Picked unit))
Custom script: call RemoveLocation(udg_SLIDE[1])
Custom script: call RemoveLocation(udg_SLIDE[2])
Custom script: call RemoveLocation(udg_SLIDE[3])
Custom script: call RemoveLocation(udg_SLIDE[4])
Custom script: call RemoveLocation(udg_SLIDE[5])
Custom script: call RemoveLocation(udg_SLIDE[6])
Custom script: call RemoveLocation(udg_UP[1])
Custom script: call RemoveLocation(udg_UP[2])
Custom script: call RemoveLocation(udg_UP[3])
Custom script: call RemoveLocation(udg_UP[4])
Custom script: call RemoveLocation(udg_UP[5])
Custom script: call RemoveLocation(udg_UP[6])
PHP:
TURN
Events
Unit - A unit Is issued an order targeting a point
Conditions
Actions
Set TURNING[(Player number of (Triggering player))] = (Target point of issued order)
Unit - Make (Triggering unit) face TURNING[(Player number of (Triggering player))] over 0.01 seconds
Custom script: call RemoveLocation(udg_TURNING[1])
Custom script: call RemoveLocation(udg_TURNING[2])
Custom script: call RemoveLocation(udg_TURNING[3])
Custom script: call RemoveLocation(udg_TURNING[4])
Custom script: call RemoveLocation(udg_TURNING[5])
Custom script: call RemoveLocation(udg_TURNING[6])
Make Unit Group.
PHP:
SET GROUP
Events
Map initialization
Conditions
Actions
Unit Group - Pick every unit in (Units of type Peasant) and do (Unit Group - Add (Picked unit) to SLIDERS)
Use L's not | L's are closer together.
Creation
PHP:
Multiboard
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Multiboard - Create a multiboard with 3 columns and 7 rows, titled Nortulas 2.21
For each (Integer A) from 1 to 7, do (Actions)
Loop - Actions
Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Hide icons
Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 5.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 8.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 10.00% of the total screen width
Multiboard - Set the display style for (Last created multiboard) item in column 2, row (Integer A) to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row (Integer A) to Show text and Hide icons
-------- Set the special titles: --------
Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to |cffD9FF00Player:
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to |cff0080FFPower:
Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to <Empty String>
Multiboard - Hide (Last created multiboard)
Multiboard - Show (Last created multiboard)
-------- Player Colours --------
Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to (|c0000ffff + (Name of Player 3 (Teal)))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to (|c00800080 + (Name of Player 4 (Purple)))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 4 to (|c00ffff00 + (Name of Player 5 (Yellow)))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 5 to (|c00ff8000 + (Name of Player 6 (Orange)))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 6 to (|c0000ff00 + (Name of Player 7 (Green)))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 7 to (|c00ff00ff + (Name of Player 8 (Pink)))
PHP:
Power Level
Events
Unit - A unit Dies
Conditions
Actions
-------- teal --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Killing unit)) Equal to Player 3 (Teal)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (|cff0099ff + (Substring(llllllllllllllllllllllllllllllllll, 1, Power[3])))
Set Power[3] = (Power[3] + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 3 (Teal)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (|cff0099ff + (Substring(llllllllllllllllllllllllllllllllll, 1, Power[3])))
Set Power[3] = (Power[3] - 1)
Else - Actions
-------- purple --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Killing unit)) Equal to Player 4 (Purple)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 3 to (|cff0099ff + (Substring(llllllllllllllllllllllllllllllllll, 1, Power[4])))
Set Power[4] = (Power[4] + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 4 (Purple)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 3 to (|cff0099ff + (Substring(llllllllllllllllllllllllllllllllll, 1, Power[4])))
Set Power[4] = (Power[4] - 1)
Else - Actions
-------- yellow --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Killing unit)) Equal to Player 5 (Yellow)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 4 to (|cff0099ff + (Substring(llllllllllllllllllllllllllllllllll, 1, Power[5])))
Set Power[5] = (Power[5] + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 5 (Yellow)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 4 to (|cff0099ff + (Substring(llllllllllllllllllllllllllllllllll, 1, Power[5])))
Set Power[5] = (Power[5] - 1)
Else - Actions
-------- orange --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Killing unit)) Equal to Player 6 (Orange)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 5 to (|cff0099ff + (Substring(llllllllllllllllllllllllllllllllll, 1, Power[6])))
Set Power[6] = (Power[6] + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 6 (Orange)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 5 to (|cff0099ff + (Substring(llllllllllllllllllllllllllllllllll, 1, Power[6])))
Set Power[6] = (Power[6] - 1)
Else - Actions
-------- green --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Killing unit)) Equal to Player 7 (Green)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 6 to (|cff0099ff + (Substring(llllllllllllllllllllllllllllllllll, 1, Power[7])))
Set Power[7] = (Power[7] + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 7 (Green)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 6 to (|cff0099ff + (Substring(llllllllllllllllllllllllllllllllll, 1, Power[7])))
Set Power[7] = (Power[7] - 1)
Else - Actions
-------- pink --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Killing unit)) Equal to Player 8 (Pink)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 7 to (|cff0099ff + (Substring(llllllllllllllllllllllllllllllllll, 1, Power[8])))
Set Power[8] = (Power[8] + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 8 (Pink)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 7 to (|cff0099ff + (Substring(llllllllllllllllllllllllllllllllll, 1, Power[8])))
Set Power[8] = (Power[8] - 1)
Else - Actions
PHP:
Player Leaves
Events
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
Conditions
Actions
Multiboard - Set the text for (Last created multiboard) item in column 1, row ((Player number of (Triggering player)) - 1) to |cffff3333Quit.
PHP:
Minimum 0
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
If (Power[3] Equal to -1) then do (Set Power[3] = 0) else do (Do nothing)
If (Power[4] Equal to -1) then do (Set Power[4] = 0) else do (Do nothing)
If (Power[5] Equal to -1) then do (Set Power[5] = 0) else do (Do nothing)
If (Power[6] Equal to -1) then do (Set Power[6] = 0) else do (Do nothing)
If (Power[7] Equal to -1) then do (Set Power[7] = 0) else do (Do nothing)
If (Power[8] Equal to -1) then do (Set Power[8] = 0) else do (Do nothing)
PHP:
refresh
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
-------- Interger --------
Multiboard - Set the text for (Last created multiboard) item in column 3, row 2 to (|cff66ff66 + (String((Power[3] - 1))))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 3 to (|cff66ff66 + (String((Power[4] - 1))))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 4 to (|cff66ff66 + (String((Power[5] - 1))))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 5 to (|cff66ff66 + (String((Power[6] - 1))))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 6 to (|cff66ff66 + (String((Power[7] - 1))))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 7 to (|cff66ff66 + (String((Power[8] - 1))))
i hope some of this helps.
P.s this is not for rep and the reason for this is so people like 'xxseerxx' also known as 'Warravan' which i know in warcraft can post there troubles.
if you have a comment which is not productive Don't post it.
If you find a leak ect post corrections.
i will not answer straight away at friends place.