AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Block the pushing effect of a conc (https://forums.alliedmods.net/showthread.php?t=25075)

Ramono 03-07-2006 11:37

Block the pushing effect of a conc
 
How block the pushing effect of a concussion grenade ( in TFC )
For the non TFC-ers: this pushes you away from the grenade.

Thanks,
Ramon.

Charr 03-07-2006 14:09

grenate = grenade (english)

To prevent a person from being thrown away from the grenade you would need to get their velocity and maintain it until the effect of the grenade is over. That could pose problems since it would not let you move. Also idk how to detect when a grenade is thrown.

Ramono 03-07-2006 14:42

Quote:

Originally Posted by Charr
grenate = grenade (english)

To prevent a person from being thrown away from the grenade you would need to get their velocity and maintain it until the effect of the grenade is over. That could pose problems since it would not let you move. Also idk how to detect when a grenade is thrown.

I tought about that too, but how to get a function to work just b4 a grenate explodes?


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

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