Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length.
 
Entire Forum
This board
This topic
Members
Entire Site
Home
FAQ
Help
Bug and Suggestion Tracker
Search
AGS Wiki
AGS Games
Login
Register
Adventure Game Studio | Forums
|
AGS Support
|
Modules & Plugins
(Moderators:
Iceboty V7000a
,
Dualnames
) |
Topic:
MODULE: OptionChosen
« previous
next »
Print
Pages: [
1
]
Author
Topic: MODULE: OptionChosen (Read 600 times)
Tweet
Share
cat
Mittens Vassal
AGS Baker
MODULE: OptionChosen
«
on:
01 Jul 2012, 10:49 »
Use this module if you write a custom dialog rendering, use HasOptionBeenChosen and want to set or reset the value for this.
You can use this directly in dialog:
Code: Adventure Game Studio
@
1
ego: I don
't want to have this option marked as read.
this
.SetNotChosen(
1
);
return
In 'dialog_options_render' you can check for the saved value:
Code: Adventure Game Studio
if
(info.DialogToRender.IsChosen(i)) ds.DrawingColor =
5
;
I based this module on the code from GuyAwesome which was posted here:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=37949.msg498961#msg498961
Download here:
http://cat.agser.me/modules/OptionChosen.zip
Logged
Ponch
AGS Baker
I live my life one stop light at a time.
Re: MODULE: OptionChosen
«
Reply #1 on:
14 Jul 2012, 15:32 »
Downloaded this last night. For dialog heavy games like mine, this will come in very handy. Thanks, cat.
Logged
Ready For Summer!
Print
Pages: [
1
]
« previous
next »
Adventure Game Studio | Forums
|
AGS Support
|
Modules & Plugins
(Moderators:
Iceboty V7000a
,
Dualnames
) |
Topic:
MODULE: OptionChosen