ya misalny lagi keadaan mati heronya.. trus dia leave.. mw remove siapa. hehe
Printable View
ya misalny lagi keadaan mati heronya.. trus dia leave.. mw remove siapa. hehe
@l0git3c
bisa save replay-nya?
GetLocalPlayer()
Pake penggunaan ini ya? Kalo smua player tiba2 leave itu desyncrhonization, komputer gk kuat nerima bnyk handle, soalnya GetLocalPlayer() ada batas.
@DoOs_101
klo gw intip scriptnya logi, ga ad pemanggilan fungsi GetLocalPlayer() di mapnya.
gw gak pake GetLocalPlayer doos
hmm keknya permasalahan ada disini
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?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))
ah ternyata masih ngesplit gamenya !_!
tolong bantuin pls :pcry:
ini save replaynya :pcry:
http://www.kitaupload.com/download.p...LastReplay.w3g
dunlud yg 1.7 BETA-nya d mn y?
oh iy...kelupaan
http://www.kitaupload.com/download.p...1.7%20BETA.w3x
tolong :pcry:
@l0git3c
tak liat dulu
EDIT:
Hmm ,keknya bener kt DoOs_101 tu desyncrhonization n. Dan mungkin tu masalahnya ada di action ygtu kan klo di convert ke JASS jadiQuote:
Camera - Pan camera for Player ... to ... over ... seconds
nah klo diliat isi fungsinyaQuote:
PanCameraToTimedLocForPlayer(a,b,c)
GetLocalPlayer() kan ada batasnya. jadi untuk menghindari desyncs lgsng pake call PanCameraToTimed(GetLocationX(loc), GetLocationY(loc), duration), cm saia ga tau gmn makenya supaya ke player (player1,2,dst) tertentu saja n apakah ada fungsi laen yg make GetLocalPlayer().Quote:
function PanCameraToTimedLocForPlayer takes player whichPlayer, location loc, real duration returns nothing
if (GetLocalPlayer() == whichPlayer) then
// Use only local code (no net traffic) within this block to avoid desyncs.
call PanCameraToTimed(GetLocationX(loc), GetLocationY(loc), duration)
endif
endfunction
coba ganti ini nya
Camera - Pan camera for (Owner of (Last created unit)) to RealSpawnPoint[(Player number of (Owner of (Last created unit))] over 0.00 seconds
@l0git3c
o iy ad penggunaan "pan camera as neccesary" ga?
yang kamu pake triggering player
@l0git3c
saia cari info2 dulu d.