Question about local variables...
by Jesse Hall · in Torque Game Builder · 08/23/2005 (5:24 pm) · 2 replies
Is this not working becuase %random and the string "totaly awesome" are evaluated as 0?
Im gonna do a search for how to compare strings now but can someone explain why this works the way it does?
%random = "random";
if ( %random == "totaly awesome" )
{
echo ( "oh crap!!" );
} Im gonna do a search for how to compare strings now but can someone explain why this works the way it does?
About the author
Torque Owner Mikael Andersson
if(%random $= "totaly awesome")