REDNODE / GAME API

TankTurretComponent

classscriptedClass

extends ScriptableComponent › GameComponent › IComponent › IScriptable › ISerializable

Properties 7

NameTypeFlags
attackRecordTweakDBIDscriptedpublic
slotComponent1ref<SlotComponent>scriptedprivate
slotComponent2ref<SlotComponent>scriptedprivate
slotComponentName1CNamescriptedpublic
slotComponentName2CNamescriptedpublic
slotName1CNamescriptedpublic
slotName2CNamescriptedpublic

Methods 3

protected cb func OnAction(action: ListenerAction, consumer: ListenerActionConsumer) -> Boolscripted
public final func OnGameAttach()scripted
private final func Shoot(slotComponent: ref<SlotComponent>, slotName: CName)scripted