2 posts · 1,779 views
Thread Rating: ★★★★★
| closeddoors size |
| Started by webmaze on 11-11-2010, 11:34 AM |
W
webmaze
Threads: 3
Joined: Apr 2008
started this thread
Posts: 35Threads: 3
Joined: Apr 2008
11-11-2010, 11:34 AM
#1
Hi, i'm rewriting a cs plugin that allows you to blowup doors with nades. Its working great, you can blow them up with handgrenades and bazookas but i've run into a problem: on maps like dod_escape for instance, the bridge is a func_door_rotating entity. or on dod_glider you can blow up a big grate near the one of the spawns. how could i know when its a door or not? how can i read the entity size? i can't think of anything else. could you give me a hand?rnthe original is here: http://forums.alliedmods.net/showthread.php?p=62410 and i can post my dod's working one if you'd like. kind regards.rnrnZeta
W
webmaze
Threads: 3
Joined: Apr 2008
started this thread
Posts: 35Threads: 3
Joined: Apr 2008
11-12-2010, 12:43 PM
#2
I manage to read the size and calculate the volume with entity_get_vector and EV_VEC_size. thanks.rnrnZeta

