Question About Dialouge - Results

Old and generally outdated discussions, with the rare hidden gem. Enter at your own risk.

Moderators: Haplo, Lead Developers

Locked
Wolf
Member
Posts: 8
Joined: Sun Jan 02, 2005 1:22 am
Location: U.S. Tennessee

Question About Dialouge - Results

Post by Wolf »

In the dialouge section of an NPC there is a results section. Where can I find all of the actions and changes I can make in that box? Can anyone tell me?
User avatar
Sload
Developer Emeritus
Posts: 6358
Joined: Sun Feb 06, 2005 9:16 pm

Post by Sload »

Most script actions can be put in there. additem, getdistance, setspeed, AIWander etc. etc. I'm not sure if you can set variables too, but I think so.
[url=http://www.youtube.com/watch?v=nabO_UXb6MM]This is not my life[/url]
User avatar
Gez
Developer Emeritus
Posts: 3020
Joined: Fri Jul 22, 2005 8:40 pm

Post by Gez »

You can set variables to constant or function returns in result. I've used this heavily for a little mod I'm making (you're inside a boat and you can ask the captain to sail to another place, the ship's location depends on a global variable, which is modified by the captain's dialogue results).
Locked