--
[ Picked text/plain from multipart/alternative ]
CBaseEntity *pEntity = NULL;

gEntList.FindEntityByClassname( pEntity, "func_bomb_target" );

if ( pEntity )

    vecBombOrigin = pEntity->GetAbsOrigin();





Try using that code.. It might work for you.

----- Original Message -----
From: "Ronny Schedel" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, December 23, 2007 10:50 AM
Subject: [hlcoders] HL1 Origin of func_bomb_target


> Hello,
>
> I try to get the origin of a func_bomb_target from the edict, unfortunatly
> edict->v.origin is a nulled vector for all bomb spots, also startpos and
> endpos are zero. How can I get the origin of the bomb spots?
>
> Best regards
>
> Ronny Schedel
>
>
> _______________________________________________
> 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