Author Topic: Create an event for first player knocked out  (Read 2156 times)

jhanna4112

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • Joe's Garage 127
Create an event for first player knocked out
« on: November 05, 2011, 04:56:34 PM »
I have some fun sound files i would like to use for the first player knocked out.  Is there a condition that would fire when the first player in a tournament is knocked out?

Also, with the new version 3 has the ability to link a specific sound file to a specific player being knocked out been added?

Magic_fubu

  • Hero Member
  • *****
  • Posts: 1035
    • View Profile
Re: Create an event for first player knocked out
« Reply #1 on: November 05, 2011, 08:34:15 PM »
I know that if you have them set up in order, and you don't randomize it, you could use the trigger of "a player busts out" and then have the sound file that you want at the top of the list. As far as linking it to specific people, that I cannot say for sure.
My cowboys shot down your rockets
---
If you send a request to me please send that you got me from here w/your TD name to confirm. Thanks!

jhanna4112

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • Joe's Garage 127
Re: Create an event for first player knocked out
« Reply #2 on: November 06, 2011, 07:48:26 AM »
Thanks for the advice.  I played around a bit and was able to create conditions that seem to work.  I was also able to add events for the bubble and finishing in the money.  I've attached my events template for others to use and modify.

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Create an event for first player knocked out
« Reply #3 on: November 07, 2011, 11:25:00 PM »
An event can link to a specific player by using the player's Internal ID.  This is an available variable in the event conditions in version 3.

internalID = "a0254930-ffd2-27e0-2c7f-49305e1ddef0"

Magic_fubu

  • Hero Member
  • *****
  • Posts: 1035
    • View Profile
Re: Create an event for first player knocked out
« Reply #4 on: November 08, 2011, 09:20:26 AM »
Oohhhhh, so nice to know! Am sure some of my players will be happy.
My cowboys shot down your rockets
---
If you send a request to me please send that you got me from here w/your TD name to confirm. Thanks!

jhanna4112

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • Joe's Garage 127
Re: Create an event for first player knocked out
« Reply #5 on: November 08, 2011, 04:39:36 PM »
Does this mean a separate event would need to be created for each player with a specific internalid used in the conditions field?

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Create an event for first player knocked out
« Reply #6 on: November 09, 2011, 10:27:31 AM »
If you want a specific sound for each player, yes.

JimG

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: Create an event for first player knocked out
« Reply #7 on: November 10, 2011, 09:31:44 AM »
Thanks for the file... I order to get the "player out on the bubble" event to work for me I had to change it to:

isround && (state=2) && inTheMoney+1

I was wrong... this plays for everyone busted out between the 1st out and being in the money. However, the original event in his file

isround && (state=2) && (rank=(inTheMoney+1)) doesn't play for me...any ideas??

« Last Edit: November 10, 2011, 09:45:54 AM by JimG »

TIMMER

  • Hero Member
  • *****
  • Posts: 557
    • View Profile
Re: Create an event for first player knocked out
« Reply #8 on: November 10, 2011, 10:18:25 AM »
For the bubble  try.... Conditions,     rank = (inTheMoney + 1)

JimG

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: Create an event for first player knocked out
« Reply #9 on: November 10, 2011, 10:56:43 AM »
I tried your suggestion and each of the following as a condition w/o success:

1. isround && (state=2) && (rank=(inTheMoney+1))
2. isround && (state=2) && rank=(inTheMoney+1)
3. isround && (state=2) && rank = (inTheMoney+1)
4. rank=(inTheMoney+1)  and
5. rank = (inTheMoney+1)

Any ideas???

TIMMER

  • Hero Member
  • *****
  • Posts: 557
    • View Profile
Re: Create an event for first player knocked out
« Reply #10 on: November 10, 2011, 11:11:29 AM »
1 thru 4 is wrong you dont need (rank=(intheMoney)  etc .... the 5th one like it is, so 6th place goes out  it should fire when you bust them out, say you pay-out 1 thru 5 just set those as prizes. ( 1 thru 5 places )      Description, when a player bust on the bubble  Trigger, A player bust out    Conditions  rank = ( inTheMoneyRank+1) is all you should need in the Events
« Last Edit: November 10, 2011, 11:30:07 AM by TIMMER »

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Create an event for first player knocked out
« Reply #11 on: November 10, 2011, 11:28:45 AM »
rank = (inTheMoneyRank + 1)

JimG

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: Create an event for first player knocked out
« Reply #12 on: November 10, 2011, 12:45:42 PM »
That worked great... Thanks to all

Jaxen

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Create an event for first player knocked out
« Reply #13 on: November 11, 2011, 09:02:04 PM »
For a specific sound for the 1st person knocked out:   position = 1
For an event for when the bubble burst (bubble boy gets knocked out):  rank = (inTheMoney + 1)

Copied these right out of my sound template. They work properly.