AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Deathrun Real Killer (https://forums.alliedmods.net/showthread.php?t=140548)

katna 10-13-2010 15:48

Deathrun Real Killer
 
how can i detect the deathrun real killer in dr maps. like if a terrorist use a button that kill a player using a trap how can i detect it. to know the attacker(the person who pushed the button of the trap)

reinert 10-13-2010 16:00

Re: Deathrun Real Killer
 
I Think it's near impossibility, almost impossible :P.

xPaw 10-13-2010 16:01

Re: Deathrun Real Killer
 
Quote:

Originally Posted by reinert (Post 1324037)
I Think it's near impossibility, almost impossible :P.

I made one, doing its job pretty good, and being ruined in most cases by old semiclip :cry:

katna 10-13-2010 16:04

Re: Deathrun Real Killer
 
can i have a clue on how to do it in the best way, i have created one and tested it and sometime i get false killers, sometime i doesn't get the killer

GuessWhat 10-14-2010 07:13

Re: Deathrun Real Killer
 
hmmm, i think you can detect the person who clicked on the button and then set the affected ent id, pev_iuser4 to the person who clicked the button and then create a fake message

reinert 10-14-2010 11:45

Re: Deathrun Real Killer
 
But, if a player felt down at a same time at another trap at the same time as Terrorist pushed another button ?

GuessWhat 10-14-2010 12:26

Re: Deathrun Real Killer
 
that why i can't really help him and he will need to wait for an expert

katna 10-15-2010 01:57

Re: Deathrun Real Killer
 
ok, i got it to work with some cases but i need to put an exepection for multi_manager. i need to set those ent in the multi_manager pev(ent, pev_iuser4, id) to the id who pushed the button

GuessWhat 10-16-2010 15:42

Re: Deathrun Real Killer
 
this way isn't so great because this is button that push to death, and some other button that push many entities at once not only 1

FiFiX 12-19-2010 14:25

Re: Deathrun Real Killer
 
What's multi_manager ?


All times are GMT -4. The time now is 10:20.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.