Detect trigger_hurt world entity
Hi.
How can I detect deathrun maps trigger_hurt entities that kill players. It is usually world entity. I have tried this : Code:
When I am standing on the ground that kills me (trigger_hurt world entity) it doesn't print me anything to chat. |
Re: Detect trigger_hurt world entity
|
Re: Detect trigger_hurt world entity
How can I compare it with pev_groundentity index? I need to obtain index first and then compare its classname, however pev_groundentity doesnt give me the index of world's trigger_hurt (DR maps).
|
Re: Detect trigger_hurt world entity
Code:
|
Re: Detect trigger_hurt world entity
trigger_hurt isn't solid, you can't stand on it
|
Re: Detect trigger_hurt world entity
If you want to hook a trigger_hurt just go for a Ham.
Every trigger_hurt counts. RegisterHam(Ham_Touch,"trigger_hurt","myFunct ion") public void myFunction(ent,id){ //check for things; In this case id would be the trigger and ent the player ;) } |
| All times are GMT -4. The time now is 18:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.