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

Revision as of 15:12, 15 June 2010 by Pocus (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ChangeOption

Syntax  

ChangeOption = GameActorUID ; OptionUID ; ValueChange

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, 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.



 

Parameters

GameActorUID

Valid alias for a GameActor

OptionUID

The "name" of the option

ValueChange

Integer (0 - 999)

Forums