[Trigger] Trigger not referring to another trigger

Level 28
Joined
Mar 25, 2008
Messages
2,955
Hi everyone,

i made a simple trigger which defeats a player when a dialogue button is clicked.
  • Kick red
  • Events: Dialog - A dialog button is clicked for KickDialog
  • Conditions: (Clicked dialog button) Equal to Red_Player
  • Actions: Game - Defeat Player 1(Red) with the message "You have been kicked"
This one works.. but not the second part. Therefore i made anoher trigger which does certain actions if a player leaves the game (like adding the point-value of his towers and spreading his gold to the rest of the players)

But somehow it seems, the second trigger doesn't refer to the "Kick trigger" although i defined the events for the second trigger as
  • Player - Player 1(Red) leaves the game
I also tried with the event
  • Player - Player 1(Red) leaves the game with a defeat
but still, nothing happens if the player gets kicked..

can someone help me ? :D
 
Level 23
Joined
Nov 29, 2006
Messages
2,483
The reason why the last two events are not working, is cause they are triggered when the player has completely left the game (I mean when they have pressed ok on the defeat button and reads the score screen).

So basically, if you tried to kick a computer, or yourself when playing, you wont see any results of it.

You could otherwise do
  • Kick red
  • Events: Dialog - A dialog button is clicked for KickDialog
  • Conditions: (Clicked dialog button) Equal to Red_Player
  • Actions:
  • Game - Defeat Player 1(Red) with the message "You have been kicked"
  • Remove Units/Change something etc here...
 
Level 23
Joined
Nov 29, 2006
Messages
2,483
Hm yes I suppose it should (it should indeed), so it's very mysterious.

Have you tried to debug the trigger by adding messages?
I have nothing more to add, atm that its very weird indeed, but should work.

I will look closer on it soon, and reply back later
(or someone else maybe has the solution?)
 
Top