Author Topic: IfPlayerDead?  (Read 1645 times)


How does a player dead a brick?

How does a player dead a brick?
I think it means if the player is dead >_<

But wouldn't that be a player input? We don't have the ability to set player inputs, just bricks.
Such as
OnPlayerTouch, a player can touch a brick.
OnRespawn, a brick can be respawned.
OnBlownUp, a brick can be blown up.

But wouldn't that be a player input? We don't have the ability to set player inputs, just bricks.
Such as
OnPlayerTouch, a player can touch a brick.
OnRespawn, a brick can be respawned.
OnBlownUp, a brick can be blown up.


No,

OnPlayerTouch, when the player touches the brick
OnRespawn, when the player respawns
OnBlownUp, When it blows up, it does ...

But wouldn't that be a player input? We don't have the ability to set player inputs, just bricks.
Such as
OnPlayerTouch, a player can touch a brick.
OnRespawn, a brick can be respawned.
OnBlownUp, a brick can be blown up.


OnPlayerTouch, in the event that a player touches this brick, do this
OnRespawn, on the event a brick respawns after being fakekilled, do this
OnBlownUp, on the event a brick is blown up, do this
IfPlayerDead, on the event that the player specified is dead, do this.

Simple, no?

It's impossible, a player can't interact with a brick once dead, therefore there is no possible input.

/thread


And OnRespawn refers to the brick being fakekilled and respawning.


EDIT: WHOOOPS! Didn't notice the "if"
« Last Edit: June 25, 2009, 05:23:36 PM by Spockticus »

IfMichealJacksonDead, Well, he is.



I say that event is pointless.

Can't this be used for relays and such?

Its possible mates.

OnPlayerTouch > Self > Firerelay
OnRelay > Client > AddVariable > TimeLived > 1
OnRelay > Self > IfVariable > TimeLived 0
VariableTrue > Minigame > CenterPrint > Someone has been killed!
VariableTrue > Self > Firerelay
VariableFalse > Self > Firerelay

Its possible mates.

OnPlayerTouch > Self > Firerelay
OnRelay > Client > AddVariable > TimeLived > 1
OnRelay > Self > IfVariable > TimeLived 0
VariableTrue > Minigame > CenterPrint > Someone has been killed!
VariableTrue > Self > Firerelay
VariableFalse > Self > Firerelay

I'm usualy good with events, but I need someone to translate this for me.

OnPlayerTouch, in the event that a player touches this brick, do this
OnRespawn, on the event a brick respawns after being fakekilled, do this
OnBlownUp, on the event a brick is blown up, do this
IfPlayerDead, on the event that the player specified is dead, do this.

Simple, no?

Oh wait, where's the brick on that last one?