Blockland Forums > Suggestions & Requests
onPlayerKillPlayer - detects if you killed someone.
(1/2) > >>
ScratchTehEPICSpaceDude:
An event that detects when you killed someone.
Altiris:
I guess its possible but I think this would work better with a team name, like for games where there is only one person on the team. Otherwise I think it would be kind of difficult.
ScratchTehEPICSpaceDude:
I really need it. :(
Corbiere:
What do you need it FOR?

If it's detecting whether someone has murdered someone, then set the score within a minigame for killing a player to 1 and:


--- Code: ---- Onplayertouch - Self - VCE_ifValue - <var:cl:score> - >= 1
- Onvariabletrue - [Events]

--- End code ---
Port:

--- Quote from: Corbiere on May 26, 2012, 10:39:46 AM ---What do you need it FOR?

If it's detecting whether someone has murdered someone, then set the score within a minigame for killing a player to 1 and:


--- Code: ---- Onplayertouch - Self - VCE_ifValue - <var:cl:score> - >= 1
- Onvariabletrue - [Events]

--- End code ---

--- End quote ---

"Onplayertouch" is the problem here.
Navigation
Message Index
Next page

Go to full version