Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Rainbow Guy on Wed 11/08/2004 02:03:07

Title: Use Modes ?
Post by: Rainbow Guy on Wed 11/08/2004 02:03:07
That's the difference between the USE and USEINT modes, i'm confused  :o
Title: Re: Use Modes ?
Post by: Mr Jake on Wed 11/08/2004 09:14:25
Isnt USEINT use inventory?
Title: Re: Use Modes ?
Post by: Radiant on Wed 11/08/2004 10:10:08
Exactly.

USE = click with hand icon
USEINV = click with inventory item
(and check character[GetPlayerCharacter()].activeinv to figure out which)
Title: Re: Use Modes ?
Post by: Mr Jake on Wed 11/08/2004 10:11:30
so its USEINV not USEINT, I didnt think USEINT was right but I couldnt find them in the manual :/
Title: Re: Use Modes ?
Post by: Rainbow Guy on Wed 11/08/2004 18:11:21
Still having trouble with the Modes, if you write :-

SetCursorMode(MODE_USE);
Display("%d",GetCursorMode());

You get 2 right !,



But when i write :-

SetCursorMode(MODE_USEINV
Display("%d",GetCursorMode());

it come out as 0, which is the same as WALK

whats going on ?

Title: Re: Use Modes ?
Post by: Scorpiorus on Wed 01/09/2004 17:54:37
Check if the player character actually has an active inventory item, otherwise MODE_USEINV can't be selected.