Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Jimi on Sat 10/05/2003 15:25:34

Title: Global Ints for Verb Box???
Post by: Jimi on Sat 10/05/2003 15:25:34
I was tearing the Demo Quest apart yesterday trying to find out how the Lucas Arts Verb Box wotked, but all I found was Loads of Global Ints in the Lucas Arts room. I thought you had to have 10 cursors that looked the same, how doe sit work with the Global Ints?
Title: Re:Global Ints for Verb Box???
Post by: cornjob on Sat 10/05/2003 23:01:14
I think that most of the verb modes use the same cursor.  The current active verb is stored in a globalint. Like, if globalint #1 equals 1 then the active mode is "push"; 2 is "pull"; 3 is "open"; and so on.

So when scripting your interactions, you have to check that globalint to see what mode was used.
Title: Re:Global Ints for Verb Box???
Post by: Jimi on Sun 11/05/2003 12:34:10
Thanks. Now I don't have to use up all of my cursors!  :D