sekan Posted July 17, 2007 Share Posted July 17, 2007 I have tried with making a script but i get 1 error all the times. The error is Required argument missing call to "getglobalnumber" int StartingConditional() { int nResumeTalk = GetGlobalNumber("Shop_Fight",2); return nResumeTalk; }/CODE] Link to comment Share on other sites More sharing options...
tk102 Posted July 18, 2007 Share Posted July 18, 2007 Don't know what that 2 is doing there... int StartingConditional() { int nResumeTalk=GetGlobalNumber("Shop_Fight"); return nResumeTalk != 0; // return TRUE on non-zero value } or int StartingConditional() { int nResumeTalk=GetGlobalNumber("Shop_Fight"); return nResumeTalk == 2; // return TRUE on value of 2 only } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.