Question about apply_verb

mistahmikey

Active Member
If you want to automatically "right click" an npc and respond to the popup window that results, I assume you would use apply_verb, thus?

/apply_verb ${ActorID} "exact text of menu option from popup to activate"

Is this correct? If not, is there some way to do this?
 

uiyice

Active Member
If you want to automatically "right click" an npc and respond to the popup window that results, I assume you would use apply_verb, thus?

/apply_verb ${ActorID} "exact text of menu option from popup to activate"

Is this correct? If not, is there some way to do this?
No quotes. (The game doesn't want quotes. You may need quotes in whatever you're doing to keep the string intact)

Second, the 'verb' is not always the same as the text. It usually is, but not always. ie, for Unlock Soulwell, it's the same. But for selling to merchants, etc... it's different, (i have a list, somewhere...). Generally speaking, the older the actor, the older the verb, and the more spaces is has in it, the more likely they made the verb a goofy abbreviated version of the display text...
 

mistahmikey

Active Member
No quotes. (The game doesn't want quotes. You may need quotes in whatever you're doing to keep the string intact)

Second, the 'verb' is not always the same as the text. It usually is, but not always. ie, for Unlock Soulwell, it's the same. But for selling to merchants, etc... it's different, (i have a list, somewhere...). Generally speaking, the older the actor, the older the verb, and the more spaces is has in it, the more likely they made the verb a goofy abbreviated version of the display text...
Aha, thanks. Is there some way (other than trial and error) to figure out what the actual verb is if it is not the text?
 
Top Bottom