gw gak pake GetLocalPlayer doos
hmm keknya permasalahan ada disini
Code:
Human Warrior
Events
Dialog - A dialog button is clicked for HumanDialog[1]
Dialog - A dialog button is clicked for HumanDialog[2]
Dialog - A dialog button is clicked for HumanDialog[3]
Dialog - A dialog button is clicked for HumanDialog[4]
Dialog - A dialog button is clicked for HumanDialog[5]
Dialog - A dialog button is clicked for HumanDialog[6]
Dialog - A dialog button is clicked for HumanDialog[7]
Dialog - A dialog button is clicked for HumanDialog[8]
Dialog - A dialog button is clicked for HumanDialog[9]
Dialog - A dialog button is clicked for HumanDialog[10]
Dialog - A dialog button is clicked for HumanDialog[11]
Dialog - A dialog button is clicked for HumanDialog[12]
Conditions
Or - Any (Conditions) are true
Conditions
(Clicked dialog button) Equal to HumanWarrior[1]
(Clicked dialog button) Equal to HumanWarrior[2]
(Clicked dialog button) Equal to HumanWarrior[3]
(Clicked dialog button) Equal to HumanWarrior[4]
(Clicked dialog button) Equal to HumanWarrior[5]
(Clicked dialog button) Equal to HumanWarrior[6]
(Clicked dialog button) Equal to HumanWarrior[7]
(Clicked dialog button) Equal to HumanWarrior[8]
(Clicked dialog button) Equal to HumanWarrior[9]
(Clicked dialog button) Equal to HumanWarrior[10]
(Clicked dialog button) Equal to HumanWarrior[11]
(Clicked dialog button) Equal to HumanWarrior[12]
Actions
Set SpawnPoint[1] = (Random point in SpawnRegion1 <gen>)
Set SpawnPoint[2] = (Random point in SpawnRegion2 <gen>)
Set SpawnPoint[3] = (Random point in SpawnRegion3 <gen>)
Set SpawnPoint[4] = (Random point in SpawnRegion4 <gen>)
Set SpawnPoint[5] = (Random point in SpawnRegion5 <gen>)
Set SpawnPoint[6] = (Random point in SpawnRegion6 <gen>)
Set SpawnPoint[7] = (Random point in SpawnRegion7 <gen>)
Set SpawnPoint[8] = (Random point in SpawnRegion8 <gen>)
Set SpawnPoint[9] = (Random point in SpawnRegion9 <gen>)
Set SpawnPoint[10] = (Random point in SpawnRegion10 <gen>)
Set SpawnPoint[11] = (Random point in SpawnRegion11 <gen>)
Set SpawnPoint[12] = (Random point in SpawnRegion12 <gen>)
Set SpawnPoint[13] = (Random point in SpawnRegion13 <gen>)
Set SpawnPoint[14] = (Random point in SpawnRegion14 <gen>)
Set SpawnPoint[15] = (Random point in SpawnRegion15 <gen>)
Set SpawnPoint[16] = (Random point in SpawnRegion16 <gen>)
Set SpawnPoint[17] = (Random point in SpawnRegion17 <gen>)
Set SpawnPoint[18] = (Random point in SpawnRegion18 <gen>)
Set SpawnPoint[19] = (Random point in SpawnRegion19 <gen>)
Set SpawnPoint[20] = (Random point in SpawnRegion20 <gen>)
Set SpawnPoint[21] = (Random point in SpawnRegion21 <gen>)
Set SpawnPoint[22] = (Random point in SpawnRegion22 <gen>)
Set SpawnPoint[23] = (Random point in SpawnRegion23 <gen>)
Set RealSpawnPoint[(Player number of (Triggering player))] = SpawnPoint[(Random integer number between 1 and 23)]
Unit - Create 1 Human [Warrior] for (Triggering player) at RealSpawnPoint[(Player number of (Triggering player))] facing Default building facing degrees
Set PlayerHero[(Player number of (Triggering player))] = (Last created unit)
Camera - Pan camera for (Owner of (Last created unit)) to RealSpawnPoint[(Player number of (Triggering player))] over 0.00 seconds
Selection - Select (Last created unit) for (Owner of (Last created unit))
Custom script: call RemoveLocation(udg_RealSpawnPoint[GetConvertedPlayerId(GetTriggerPlayer())])
Game - Display to (All players) for 4.00 seconds the text: (PlayersName[(Player number of (Triggering player))] + soul becomes Human Warrior)
Game - Display to (Player group((Triggering player))) for 10.00 seconds the text: |cffFE890DWelcome w...
Player - Limit training of Heroes to 0 for (Triggering player)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
GameMode Equal to Team Battle
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering player) is an ally of Player 1 (Red)) Equal to True
Then - Actions
Multiboard - Set the text for ChaosForestMultiboard item in column 2, row ((Player number of (Triggering player)) + 2) to (PlayersColour[(Player number of (Triggering player))] + (Human + |r))
Multiboard - Set the text for ChaosForestMultiboard item in column 3, row ((Player number of (Triggering player)) + 2) to (PlayersColour[(Player number of (Triggering player))] + (Warrior + |r))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering player) is an ally of Player 5 (Yellow)) Equal to True
Then - Actions
Multiboard - Set the text for ChaosForestMultiboard item in column 2, row ((Player number of (Triggering player)) + 5) to (PlayersColour[(Player number of (Triggering player))] + (Human + |r))
Multiboard - Set the text for ChaosForestMultiboard item in column 3, row ((Player number of (Triggering player)) + 5) to (PlayersColour[(Player number of (Triggering player))] + (Warrior + |r))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering player) is an ally of Player 9 (Gray)) Equal to True
Then - Actions
Multiboard - Set the text for ChaosForestMultiboard item in column 2, row ((Player number of (Triggering player)) + 8) to (PlayersColour[(Player number of (Triggering player))] + (Human + |r))
Multiboard - Set the text for ChaosForestMultiboard item in column 3, row ((Player number of (Triggering player)) + 8) to (PlayersColour[(Player number of (Triggering player))] + (Warrior + |r))
Else - Actions
Else - Actions
Multiboard - Set the text for ChaosForestMultiboard item in column 2, row ((Player number of (Triggering player)) + 1) to (PlayersColour[(Player number of (Triggering player))] + (Human + |r))
Multiboard - Set the text for ChaosForestMultiboard item in column 3, row ((Player number of (Triggering player)) + 1) to (PlayersColour[(Player number of (Triggering player))] + (Warrior + |r))
ini trigger waktu milih hero, dan emg splitnya pas pemain pada milih hero. btw, ini triggernya udh gw ganti variable RealSpawnPoint-nya jadi variable yg berarray. Lom gw test, tp kira2 masih split ga ya?
Share This Thread