I'm still working on VDC documentation. I've completed a new version of
the model entity tutorial, but there's a curiosity I'd like to have
explained to me. If the player stands in front of the my_model_entity as
it moves, it will execute a chunk of IF code in MoveThink() regardless
of whether the conditions for it are true!

I added a console message when the if statement is executed (which
appears every time the entity hits me) and disabled the random AbsVector
changes. The code is _definitely_ being executed ahead of time.

What's going on here? The code is at
http://developer.valvesoftware.com/wiki/Model_Entity .


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

Reply via email to