- Joined
- Apr 16, 2010
- Messages
- 584
Hello! So i have few triggers that call 4 different dialogs, not in same time. One for modes, second for frags, third for Order System, and fourth for Bank System.
I have no problems with first and second dialogs but other ones make me crazy, i don't even know what is the problem, so the thing is that they won't show up. But i noticed that when i copy those triggers to another map everything forks fine, i can assure you that no other trigger using actions that prevent dialogs from showing.
If anyone wants to look at triggers no problem:
I'm not showing triggers from Order System because i kinda messed up with the system) Totally made it neither MUI nor MPI... Forgot so save the map))
So if anyone has any idea what is wrong, I'd be glad to here them...
Reminder: Triggers work in other maps!!!
I have no problems with first and second dialogs but other ones make me crazy, i don't even know what is the problem, so the thing is that they won't show up. But i noticed that when i copy those triggers to another map everything forks fine, i can assure you that no other trigger using actions that prevent dialogs from showing.
If anyone wants to look at triggers no problem:
-
BS Send Gold
-
Events
-
Player - Player 1 (Red) types a chat message containing -send gold as A substring
-
Player - Player 2 (Blue) types a chat message containing -send gold as A substring
-
Player - Player 3 (Teal) types a chat message containing -send gold as A substring
-
Player - Player 4 (Purple) types a chat message containing -send gold as A substring
-
Player - Player 5 (Yellow) types a chat message containing -send gold as A substring
-
Player - Player 6 (Orange) types a chat message containing -send gold as A substring
-
Player - Player 7 (Green) types a chat message containing -send gold as A substring
-
Player - Player 8 (Pink) types a chat message containing -send gold as A substring
-
Player - Player 9 (Gray) types a chat message containing -send gold as A substring
-
Player - Player 10 (Light Blue) types a chat message containing -send gold as A substring
-
Player - Player 11 (Dark Green) types a chat message containing -send gold as A substring
-
Player - Player 12 (Brown) types a chat message containing -send gold as A substring
-
-
Conditions
-
Actions
-
-------- Setting amount of gold that we want to send --------
-
Set BS_Send_Amount[(Player number of (Triggering player))] = (Integer((Substring((Entered chat string), 12, (Length of (Entered chat string))))))
-
-------- Cheking if sender has enough gold --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Triggering player) Current gold) Greater than or equal to BS_Send_Amount[(Player number of (Triggering player))]
-
-
Then - Actions
-
-------- Creating the dialog to sender with names of available recivers --------
-
Dialog - Change the title of BS_Dialog_1[(Player number of (Triggering player))] to Chose Reciver
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Player((Integer A))) slot status) Equal to Is playing
-
((Player((Integer A))) controller) Equal to User
-
-
Then - Actions
-
Dialog - Create a dialog button for BS_Dialog_1[(Player number of (Triggering player))] labelled (Name of (Player((Integer A))))
-
Set BS_DialogButton[(Integer A)] = (Last created dialog Button)
-
-
Else - Actions
-
-
-
-
Dialog - Show BS_Dialog_1[(Player number of (Triggering player))] for (Triggering player)
-
-
Else - Actions
-
Game - Display to (Player group((Triggering player))) the text: |Cfffed312You don't...
-
-
-
-
So if anyone has any idea what is wrong, I'd be glad to here them...
Reminder: Triggers work in other maps!!!