Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.

CanPayOption

From AGEWiki

Revision as of 11:20, 30 July 2012 by Lodilefty (Talk | contribs)
Jump to: navigation, search

CanPayOption

Syntax  

CanPayOption = <GameActorUID>;<SubType>[;<Coeff>]

Description


Example  

CanPayOption = $gmaOptionMil;SEV_Hire_GermanMercCav;200

TRUE if the Costs defined for SEV_Hire_GermanMercCav option can be met. AI will only "choose" the option if 200% of the option costs are available.


 

Parameters

<GameActorUID>

Valid GameActor Alias for an Option

<SubType>

The name of the option as defined in SetActorPool

[;<Coeff>]

Optional

For AI, the percentage of the option costs needed before AI will "choose" the option
Forums