HailHell Posted February 9, 2015 Share Posted February 9, 2015 Like global property Gvar atuo event blah blah gcar += 1enevent and then in dialogue use that gvar You only have <Gvar> apples. would this be possible? Link to comment Share on other sites More sharing options...
Mattiewagg Posted February 9, 2015 Share Posted February 9, 2015 (edited) In dialogue, you can put code in the Begin and End fragments of a response. Events cannot be used. The "event" is essentially when the dialogue begins/ends respectively. So you can't use events. I really recommend you read the quest design tutorials on the CK Wiki as it has held many of the answers to the questions you've posted so far. Edit: Missed the part where you wanted it in the dialogue. That can be done for objectives and such, but NOT directly in dialogue. (Imagine trying to say "Hello <player name>" in dialogue - you can't anticipate every possible name with a VA). To use it in objectives, use Text Replacemen and be sure to add your global to the list in Quest Data of Text Displayed Globals/variables. (Right-hand side of the Quest Data window) Edited February 9, 2015 by Matthiaswagg Link to comment Share on other sites More sharing options...
HailHell Posted February 9, 2015 Author Share Posted February 9, 2015 cheers Link to comment Share on other sites More sharing options...
ArronDominion Posted February 9, 2015 Share Posted February 9, 2015 Global variables can be used as dialogue conditions if that is also what you were asking Link to comment Share on other sites More sharing options...
Recommended Posts