Thread: {} vs ||
View Single Post
  #8  
Old 06-14-2007, 02:52 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
You can also do like:
NPC Code:
if (player.x in <16,19>) {
bleh();
}


Which would be true if the number is in between 16 and 19 but would be false if it was exactly 16 or 19 (so 16.1 and 17 would be true but 15 and 16 would be false).

You can also do:
<16,19|
|16,19>
Respectively.

Having a good knowledge of geometry helps in this (I think that is the math subject that teaches rays and all that in a number line).
__________________
Do it with a DON!
Reply With Quote