Page 1 of 1

whats this

Posted: Sat Mar 24, 2007 10:32 pm
by darksmaster923
whats this

SetUseItem(char *ItemName );

Sets the specified item to be the current Use Item .

Posted: Sat Mar 24, 2007 10:38 pm
by Jay
The idea is that you set an item (=attribute) to be the 'UseItem' and then you can get its name with another command (don't know its name now, maybe GetUseItem()?) when you need it again...

I don't see any other use for this command...

Posted: Sun Mar 25, 2007 12:20 am
by QuestOfDreams
If an item is set as use item it will be used when you press the use key the next time, this is the same as selecting an item from the inventory for use with the use key. :roll:

Posted: Sun Mar 25, 2007 12:25 am
by darksmaster923
okay, but how do you set the item

Posted: Sun Mar 25, 2007 12:33 am
by QuestOfDreams
Huuu? Thought we were talking about the SetUseItem command?

Posted: Sun Mar 25, 2007 1:25 am
by darksmaster923
ya, but i want to know how to set the use item now

Posted: Mon Mar 26, 2007 7:21 pm
by Juutis
Uhh, the command is called 'SetUseItem()' - it sets the use item.
If you're meaning something else, please do explain a bit more. :)