Use Modes ?

Started by Rainbow Guy, Wed 11/08/2004 02:03:07

Previous topic - Next topic

Rainbow Guy

That's the difference between the USE and USEINT modes, i'm confused  :o

Mr Jake

Isnt USEINT use inventory?

Radiant

Exactly.

USE = click with hand icon
USEINV = click with inventory item
(and check character[GetPlayerCharacter()].activeinv to figure out which)

Mr Jake

so its USEINV not USEINT, I didnt think USEINT was right but I couldnt find them in the manual :/

Rainbow Guy

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 ?


Scorpiorus

Check if the player character actually has an active inventory item, otherwise MODE_USEINV can't be selected.

SMF spam blocked by CleanTalk