-- [ Picked text/plain from multipart/alternative ] You can use the logic entities to set a global state sort of. Though I am not very fluent in using them but I am almost positive its possible with logic_compare and a math_counter. The math_counter would start at 0 and then when you want to change state add 1 to it and have it fire a output onvaluechanged and somehow use it in the logic_compare to see if the value is 1 or 0. In the logic_compare you can have two different logic_relays fire depending on the value. One for each state available. There is a way to do all sorts of basic coding things using logic_ entities.
On 8/1/06, Thomas Vollmer <[EMAIL PROTECTED]> wrote: > > Thanks for your replies. Are the values for globalstate restricted to a > predefined list, or can I define my own? It's not clear from wht Wiki... > > Thanks, > Thomas > > > ----- Original Message ---- > From: Aaron Schiff <[EMAIL PROTECTED]> > To: [email protected] > Sent: Monday, July 31, 2006 7:58:57 PM > Subject: Re: [hlcoders] Global game state > > > -- > [ Picked text/plain from multipart/alternative ] > You can change state using I/O: > > - *TurnOn* > > Set state of global to ON. > > - *TurnOff* > > Set state of global to OFF. > > - *Toggle* > > Toggles state of global between ON and OFF. > > - *Remove* > > Set state of global to DEAD. > > -- > ts2do > -- > > _______________________________________________ > 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

