Game Development Community

LightEditor.gui --- string always evaluates to 0

by Keith Mc Dowell JR · in Torque Game Engine · 07/20/2007 (8:17 pm) · 1 replies

Check to see if this might have been previous posted..
At line 2140 string always evaluates to 0
also
at line 2159 string always evaluates to 0

if statement using != statement --
Find a thread, that suggest when comparing strings to use $=, instead of !=
Recompile and it remove the error message.

#1
02/21/2010 (7:43 am)
in other words... change it to (!(str1 $= str2)) ... and it works great and no more errors.