Exult Logo
 
Home | Download | Documentation | FAQ | Studio | Screen Shots
Development | Discussion | About Us | Letters | History | Links
 
Exult Discussion
Before posting, make sure you've read the FAQ and searched the message board for previous discussions. When reporting problems/bugs, please include details about your setup (Exult version, OS, sound and video cards).

 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 usecode question - global flag
Author: agentorangeguy (---.40.190.173.dynamic.ip.windstream.net)
Date:   08-21-11 14:54

While doing some usecode work, I notice that sometimes I cannot get a global flag to be set true during a conversation topic although some actually do get set. The flag numbers should be in the safe range (1000 +) and before the cutoff number. an example
case "topic"(remove):
               say("@this should set a flag@");
               gflags[FLAG] = true;




I have also used the following format:


case "topic"(remove):
          if (!gflags[FLAG])
             {
              say("@Flag is now set.@");
              }
              else say("@What I say after flag is set.@");




for some reason, some flags will fire and some wont. As far as I know, there are no overlapping flags.

Reply To This Message
 Go to Top  |  Go to Topic  |  Threaded View   Newer Topic  |  Older Topic 


 
 Reply To This Message
 Your Name:
 Your E-mail:
 Subject:
 Subject:
   
 
SourceForge   phorum.org
 
Problems with Exult or this webpage? Contact us.
Last modified: 24 Oct 2001(GMT)