User Tools

Site Tools


hpl3:game:dialoghandler

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
hpl3:game:dialoghandler [2012/12/12 13:04]
thomas [Variables]
hpl3:game:dialoghandler [2012/12/12 13:04]
thomas [Variables]
Line 133: Line 133:
 Dialog_AddResponseOption("​TextEntry1","​NewBranch1"​);​ Dialog_AddResponseOption("​TextEntry1","​NewBranch1"​);​
   Dialog_AddResponseCondition_VarEqual("​BodyCount",​ 3);   Dialog_AddResponseCondition_VarEqual("​BodyCount",​ 3);
-    ​Dialog_AddResponseEvent_SetVar("​Foo"​);  ​+  ​Dialog_AddResponseEvent_SetVar("​Foo"​);  ​
 </​code>​ </​code>​
 This will add the response "​TextEntry1"​ if BodyCount has a value of 3. If this option is chosen, then the variable "​Foo"​ is set. This will add the response "​TextEntry1"​ if BodyCount has a value of 3. If this option is chosen, then the variable "​Foo"​ is set.
hpl3/game/dialoghandler.txt ยท Last modified: 2015/09/17 10:18 by ian.thomas