REDNODE / GAME API

WeaponTraining

classscriptedClass

extends InteractiveDevice › Device › DeviceBase › GameObject › GameEntity › Entity › IScriptable › ISerializable

Properties 4

NameTypeFlags
amountOfHitsInt32scriptedprotected
limitOfHitsInt32scriptedprotected
rewardRecordTweakDBIDscriptedprotected
weaponTypesarray<gamedataItemType>scriptedprotected

Methods 7

protected final func AwardRewardXP(instigator: wref<GameObject>, target: EntityID)scripted
public const func DeterminGameplayRole() -> EGameplayRolescripted
protected const func HasAnyDirectInteractionActive() -> Boolscripted
protected final func MatchWeaponItemType(type: gamedataItemType) -> Boolscripted
protected cb func OnHitEvent(hit: ref<gameHitEvent>) -> Boolscripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted