Fledgling Fyora Brayne Metes Posted April 26, 2006 Share Posted April 26, 2006 I was wondering if anybody knew a way of having the player select a target from a custom ability script. Is there a call or something that lets you manually choose a target, kind of like when you target a spell? Link to comment Share on other sites More sharing options...
Well-Actually War Trall Fort Posted April 26, 2006 Share Posted April 26, 2006 I am not completey clear on this, but I do not think that custom abilities can take targets. However, you can make a custom item that has targets and link it to a scenario script state. Use who_is_custom_item_target() to get the ID of the targetted creature. Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted April 27, 2006 Share Posted April 27, 2006 Garrison's right. We've asked Jeff for such a call, but it has not been granted yet. Link to comment Share on other sites More sharing options...
Easygoing Eyebeast Dintiradan Posted April 29, 2006 Share Posted April 29, 2006 Just a thought: the convention of making TALKING_STATE link to a dialog node is just that, a convention. You could give all the enemies a special version of basicnpc that does whatever special thing you want to do in TALKING_STATE. I haven't tested this, though, it's just a thought. -------------------- IF I EVER BECOME AN EVIL OVERLORD: I will not rely entirely upon "totally reliable" spells that can be neutralized by relatively inconspicuous talismans. Link to comment Share on other sites More sharing options...
Rotghroth Rhapsody wz. As Posted April 29, 2006 Share Posted April 29, 2006 Quote: Originally written by Dintiradan:Just a thought: the convention of making TALKING_STATE link to a dialog node is just that, a convention. You could give all the enemies a special version of basicnpc that does whatever special thing you want to do in TALKING_STATE. I haven't tested this, though, it's just a thought. Conversely, dialog mode doesn't actually have to involve talking to an NPC. You can use it for more complicated special abilities, such as maybe special spell selection. I think Bahss used this for item identification, though in the form of an NPC, probably to work around the limitations of both item identification and the "This conversation is over" message. Link to comment Share on other sites More sharing options...
Recommended Posts