Hello all,
I wonder if there is a way for an npc to check if a character has an item with ID is between XXX and ZZZ, save such item ID on variable and then delete such item. Im new to AI and this is the main idea im trying to achieve.... please pardon how crude this looks...i will use @nobless_tiara just for example
Example:
EventHandler TALKED( talker, i0 )
{
If (Talker.(OwnitemCount (ID>= XXX && ID <=ZZZ) >=1) >=1)
{
i0 = Talker.(OwnitemCount (ID>= XXX && ID <=ZZZ) >=1)
myself::DeleteItem1( talker, i0, 1 );
myself::GiveItem1( talker, @nobless_tiara, 1 );
}
}
I'd also take on alternative ideas :)