- Joined
- Jun 2, 2009
- Messages
- 1,233
Let me tell you what happens. I had a twelve special abilities within my map. Then i have removed 4 of them and it is 8 now. Player 1 and Player 7 are computer slot. Player 1-6 team against player 7-12.
Players 2,3,4,5,6 and 8 can select abilites between 1-8 but this is not working when it comes players 9,10,11,12.
This is one of my friends trigger and my math is terrible. I cannot solve this issue. Can you help me about that? Probably it will work if i will create empty ability and connect them between GOD_Dialog 9,10,11,12.
Why this trigger not works for players 9,10,11 and 12?
Note: Dialog buttons still visible and can be selected by anyone. But not works for players 9,10,11 and 12. I know probably i was already solved this if i was good at math...
Players 2,3,4,5,6 and 8 can select abilites between 1-8 but this is not working when it comes players 9,10,11,12.
This is one of my friends trigger and my math is terrible. I cannot solve this issue. Can you help me about that? Probably it will work if i will create empty ability and connect them between GOD_Dialog 9,10,11,12.
Why this trigger not works for players 9,10,11 and 12?
Note: Dialog buttons still visible and can be selected by anyone. But not works for players 9,10,11 and 12. I know probably i was already solved this if i was good at math...
-
Dialog Button
-
Events
-
Dialog - A dialog button is clicked for GOD_Dialog[1]
-
Dialog - A dialog button is clicked for GOD_Dialog[2]
-
Dialog - A dialog button is clicked for GOD_Dialog[3]
-
Dialog - A dialog button is clicked for GOD_Dialog[4]
-
Dialog - A dialog button is clicked for GOD_Dialog[5]
-
Dialog - A dialog button is clicked for GOD_Dialog[6]
-
Dialog - A dialog button is clicked for GOD_Dialog[7]
-
Dialog - A dialog button is clicked for GOD_Dialog[8]
-
-
Conditions
-
Actions
-
For each (Integer GOD_A) from 1 to 64, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to GOD_DialogButton[GOD_A]
-
-
Then - Actions
-
Set GOD_TempInteger[1] = GOD_A
-
Set GOD_TempInteger[2] = (Player number of (Triggering player))
-
Set GOD_TempInteger[3] = (GOD_TempInteger[2] - 1)
-
Set GOD_TempInteger[4] = (GOD_TempInteger[3] x 8)
-
Set GOD_TempInteger[5] = (GOD_TempInteger[1] - GOD_TempInteger[4])
-
Game - Display to (Player group((Triggering player))) the text: (|cffb4b4b4Seçtigin özellik |r + (GOD_Buton_Name[GOD_TempInteger[5]] + |cffb4b4b4 Basarılar...|r))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of GOD_Hero[(Player number of (Triggering player))]) Equal to Dark Ranger Lady Sylvanas
-
-
Then - Actions
-
Game - Display to (Player group((Triggering player))) the text: Hero suan test sür...
-
-
Else - Actions
-
-
Unit - Add GOD_Ability[GOD_TempInteger[5]] to GOD_Hero[(Player number of (Triggering player))]
-
-------- --------
-
Custom script: call UnitMakeAbilityPermanent(udg_GOD_Hero[GetConvertedPlayerId(GetTriggerPlayer())], true, udg_GOD_Ability[udg_GOD_TempInteger[5]])
-
Custom script: call UnitMakeAbilityPermanent(udg_GOD_Hero[GetConvertedPlayerId(GetTriggerPlayer())], true, 'A03Y')
-
For each (Integer B) from 1 to 12, do (Actions)
-
Loop - Actions
-
Custom script: call UnitMakeAbilityPermanent(udg_GOD_Hero[GetPlayerId(GetTriggerPlayer()) + 1], true, udg_GOD_Sub_Ability[bj_forLoopBIndex])
-
-
-
-------- --------
-
Multiboard - Set the text for (Last created multiboard) item in column 8, row Table_PlayerLine[(Player number of (Triggering player))] to GOD_Nick[GOD_TempInteger[5]]
-
Set StartingAbility[(Player number of (Triggering player))] = GOD_Ability[GOD_TempInteger[5]]
-
Player - Disable GOD_Ability[GOD_TempInteger[5]] for (Triggering player)
-
-
Else - Actions
-
-
-
-
Dialog - Clear GOD_Dialog[(Player number of (Triggering player))]
-
-