Quote:
Originally Posted by Loakey_P2P
i would pos rep you but it wont let me
but yea it is, i just don't like using true and false . plus giving them a little exp with it having a value could come in handy later on if he needs to have multi steps to a quest . the unset was just to clean up any loose ends cause my ocd makes me . the not statement tho is just my exp that sometimes != will fail . i did kinda fudge that up as i ment it to be in an if(created or if(playerenters, so if they go back after they got the key it wont still be laying there . my bad
|
PHP Code:
temp.bool = true;
echo(temp.bool + 5);
Output: 6
In GS2 true == 1.
But it would be impractical to use that logic and might be confusing to fellow scripters.