Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_CharacterControllerComponent_Test.c
Go to the documentation of this file.
1[EntityEditorProps(category: "GameScripted/ScriptWizard", description: "", color: "0 0 255 255", icon: HYBRID_COMPONENT_ICON)]
5
7{
8 //------------------------------------------------------------------------------------------------
9 override void OnPrepareControls(IEntity owner, ActionManager am, float dt, bool player)
10 {
11 am.SetActionValue("CharacterForward", 1);
12 super.OnPrepareControls(owner, am, dt, player);
13 }
14
15 //------------------------------------------------------------------------------------------------
16 // constructor
23}
void SCR_CharacterControllerComponent_Test(IEntityComponentSource src, IEntity ent, IEntity parent)
enum SCR_ECompassType EntityEditorProps(category:"GameScripted/Gadgets", description:"Compass", color:"0 0 255 255")
Prefab data class for compass component.
event void OnPrepareControls()
ActionManager holds information about states of registered Contexts and Actions.
HYBRID_COMPONENT_ICON
Default icon for all components written in script that don't inherit ScriptComponent.