10-08-2007, 06:29 AM | #1 |
Join Date: Sep 2007
Posts Rated Helpful 0 Times
|
Nade stick area?
Anyone have any ideas on how to make a certain spot on the map that when a grenade is thrown at it, it would stick? Some kind of brush-based entity perhaps.
|
|
10-08-2007, 06:55 AM | #2 |
Nutcracker
|
Do you mean stick on the ground or in the air?
You could use a heavy trigger_gravity (named "grenadegravity" for the LUA code below) to push them down on an even surface. Set the "Physics objects" flag on (or "Everything" if this doesn't work), and only allow grenade entities for it like this: Code:
grenadegravity = new:trigger_ff_script({ }) grenadegravity:allowed( allowed_entity ) if IsGrenade(allowed_entity) return true end return false end |
|
10-08-2007, 12:56 PM | #3 |
Join Date: Sep 2007
Posts Rated Helpful 0 Times
|
gravity should work. i will try it, thank you.
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|