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
Hey! It's been years since I tried this, just redownloaded everything for the nostalgia but I'm having the "mismatch" problem.
You were right, I used another system, not the one from the post! My bad!
Now I can't find the system that works with AuthGateD 🤣
I see you have found it and uploaded it but the link you provided no longer works. If you are still around, can you please reupload? Thank you!
Question
khul
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 :)
Edited by khul2 answers to this question
Recommended Posts