ahh, Ok, I just figured it out. In the .fgd I was supposed to add "Origin"
next to the solid class definition.

@SolidClass base(Targetname, Origin) = func_rescue_zone:

Adding Origin, allowed me to do a ->GetAbsOrigin() on the 'func_rescue-zone'
entity and it returns the center of the brush that this entity is linked to
(instead of Vector(0,0,0) ).


----- Original Message -----
From: "Minh" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, February 17, 2007 4:53 PM
Subject: Re: [hlcoders] How to find the position of a func brush?


hmm.. I cant seem to find any references to valid references to pev in the
hl2 sdk. (it seems they've done  away with it from what I cant tell of the
comments).

----- Original Message -----
From: "Rodrigo 'r2d2rigo' Diaz" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, February 17, 2007 3:57 PM
Subject: Re: [hlcoders] How to find the position of a func brush?


--
[ Picked text/plain from multipart/alternative ]
If HL2 works just like HL did, you should be seeking for pev->mins and
pev->maxs. Those store the minimum/maximum vectors that determine the
size
of the resulting box.
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders




_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to