Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › Help › Scripting Help › doors size
2 posts · 1,779 views Thread Rating: ★★★★★
closeddoors size
Started by webmaze on 11-11-2010, 11:34 AM
W webmaze
started this thread
Posts: 35
Threads: 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
started this thread
Posts: 35
Threads: 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

Archive › Old Forum Threads › Help › Scripting Help › doors size
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC