Changing the character.ID for an inventory [SOLVED]

Started by Matti, Fri 06/02/2009 20:44:26

Previous topic - Next topic

Matti

I want to have an inventory that displays the items for one of three possible characters (depending on which character's turn it is).

But looking at the manual it seems there's no way to change the character.ID for the inventory. Is there any way to have one inventory for three characters and change the items accordingly?

Khris

Just call InvWindow.CharacterToUse = player; after the player character has changed.

Matti

#2
Okay, thanks, though these characters don't have to necessarily be the player ;).

SMF spam blocked by CleanTalk