Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.
ChangeOption
From AGEWiki
(Difference between revisions)
m |
|||
Line 5: | Line 5: | ||
| syntax = GameActorUID ; OptionUID ; ValueChange | | syntax = GameActorUID ; OptionUID ; ValueChange | ||
| description = Changes (actually ''sets'' equal to) the "selection value" of the specified [[option]] | | description = Changes (actually ''sets'' equal to) the "selection value" of the specified [[option]] | ||
- | : Usually used in AI events to "tell" the AI to choose an option | + | : Usually used in AI events to "tell" the AI to choose an option, as the player will choose an option with a click in the interface. Before an option can be chosen, it must be enabled with [[ChangeActorPool]], you'll then want to check if the option is valid with [[ActorEnabled]]. |
| example = | | example = | ||
| example-description = | | example-description = |
Latest revision as of 15:12, 15 June 2010
ChangeOption | |||
Syntax ChangeOption = GameActorUID ; OptionUID ; ValueChange Description Changes (actually sets equal to) the "selection value" of the specified option
|
Parameters
The "name" of the option
Integer (0 - 999) |