SetCombatActionCost

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Sets the cost of an action which is inversely proportional to the probability of a combat action being chosen.

Console Functions are normally exclusively for use in the in-game Console (accessible by pressing "~").

With JIP LN NVSE Plugin, any console function can be used in scripts with the Console function.

Syntax

[help]
SetCombatActionCost actionName:string cost:float

Example

SetCombatActionCost COMBAT_ACTION_USE_COMBAT_ITEM 2.0
SetCombatActionCost COMBAT_ACTION_ATTACK_RANGED_EXPLOSIVE 0 


Action Name Default Value
COMBAT_ACTION_ATTACK_RANGED_EXPLOSIVE 1.500000
COMBAT_ACTION_ATTACK_RANGED_EXPLOSIVE_FROM_COVER 1.000000
COMBAT_ACTION_ATTACK_RANGED 1.500000
COMBAT_ACTION_ATTACK_RANGED_FROM_COVER 1.000000
COMBAT_ACTION_ATTACK_GRENADE 1.500000
COMBAT_ACTION_ATTACK_GRENADE_FLUSH_TARGET 1.250000
COMBAT_ACTION_ATTACK_GRENADE_FROM_COVER 1.000000
COMBAT_ACTION_ATTACK_MELEE 2.000000
COMBAT_ACTION_ATTACK_HAND_TO_HAND 2.000000
COMBAT_ACTION_MOVE 0.000000
COMBAT_ACTION_MOVE_AND_SWITCH_TO_MELEE 0.000000
COMBAT_ACTION_MOVE_AND_ATTACK_RANGED 0.000000
COMBAT_ACTION_MOVE_AND_ATTACK_RANGED_EXPLOSIVE 0.000000
COMBAT_ACTION_MOVE_AND_ATTACK_GRENADE 0.000000
COMBAT_ACTION_DRAW_WEAPON 1.000000
COMBAT_ACTION_SWITCH_WEAPON 2.000000
COMBAT_ACTION_AVOID_THREAT 0.000000
COMBAT_ACTION_SEARCH 3.000000
COMBAT_ACTION_INVESTIGATE 1.000000
COMBAT_ACTION_DODGE 0.100000
COMBAT_ACTION_IGNORE_BLOCKED_TARGET 1.500000
COMBAT_ACTION_FLEE 0.000000
COMBAT_ACTION_ACTIVATE_COMBAT_ITEM 1.000000
COMBAT_ACTION_USE_COMBAT_ITEM 1.000000
COMBAT_ACTION_ACQUIRE_LINE_OF_SIGHT 2.000000
COMBAT_ACTION_HIDE 1.000000
COMBAT_ACTION_APPROACH_TARGET 1.000000