Well... does a player trigger the Touch() function every frame as long as he
is inside the entity?

You could clear the flag in the players PreThink() function, and set it in
the Touch() function.

Thusly, if they leave, the flag is no longer updated and is cleared.

Or something like that.


----- Original Message -----
From: "Mazor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 16, 2002 9:44 PM
Subject: [hlcoders] Zone Entities


> This is a multi-part message in MIME format.
> --
> [ Picked text/plain from multipart/alternative ]
> I need to figure out how to code in zone type entities into my mod. I
> can get the base entity part, but I need to figure out how to flag a
> player when he's in the entity and then how to reset the flag when he's
> exited the entity's bounds. any ideas how?
>
> -Mazor
> _______________________________________________
> 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