> All of the Spawn() functions for brush models that I looked at had this...
>
> SET_MODEL( ENT(pev), STRING(pev->model) );
>
> ...setting the model of the entity to the *modelindex value for the brush
> model.
>
> Perhaps you need to do the same thing and set the pev->model up properly before
> trying to get the VecBModelOrigin().  The pev->origin will always be (0,0,0)
> for brush models.
>
> Jeffrey "botman" Broome

That worked to fix the origin :) Thanks :)

Now I am getting an access error, strange thing is the only thing in the stack
window is SW! 043442f7(). I don't get this when using swarm or hldm maps...I think
that stack windows is hiding something.

Jeff.

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

Reply via email to