|
Soujirou Newbie
Joined: 26 Oct 2009 Posts: 7
|
Posted: Thu Jan 27, 2011 8:44 am
Multi-Line Trigger |
I'm sure this has been asked before, but I'm trying to make an auto-offerer for Achaea. Upon inputting the ii corpse command, to do a detailed search through your inventory for anything with "corpse" in the name, you're prompted for a "You are holding:" with things like " knight325823 the corpse of a mhun knight," spaces included. I was wondering if the trigger "You are holding:" could prompt a multi-line trigger that could record the numerical value of the corpse, for later offering. Thanks for the help in advance!
|
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Thu Jan 27, 2011 2:55 pm |
You could do it with a multistate trigger. Another way to do it is to have "You are holding:" fire a trigger which enables a class. Within that class you have another trigger to capture the "knight325823" line. This trigger does whatever you want, and then disables the class again. The class should be set to disabled on startup. You may also want another trigger in there to fire on a prompt, which also disables the class, just in case the other trigger doesn't catch anything.
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|