Welcome to the Iron Front Fan Forums!
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
Jacob F.

Private
Registered:
Posts: 1
Reply with quote  #1 

Arma3 Editor Commands 


 Structure:

 

  • Action 
  • AddAction 
  • AddBackPack
  • AddEventhandler 
  • AddGoggles
  • AddHeadGear
  • AddRating 
  • AddSwitchableUnit 
  • AddUniform
  • AddVest
  • AddWeapon 
  • AddMagazine 
  • AddWeaponCargo 
  • AddWaypoint 
  • AddMagazineCargo 
  • AIKills 
  • Alive 
  • AllowGetin 
  • AllowFleeing 
  • And 
  • Animate 
  • AnimationState 
  • AssignAsCargo 
  • AssignAsCommander 
  • AssignAsDriver 
  • AssignAsGunner 
  • AssignTeam 
  • AssignToAirport 
  • AssignedVehicle 
  • AssignedVehicleRole 
  • AVGScore 
  • BuildingPos
  • Call 
  • CamUseNVG 
  • CanMove 
  • CanFire 
  • CanStand 
  • Case
  • Ceil
  • ClearWeaponCargo
  • ClearMagazineCargo
  • CloseDialog
  • CommandTarget
  • CommandFire
  • CommandMove
  • CommandStop
  • CommandTarget
  • Compile
  • ComposeText
  • Count
  • CreateDialog
  • CreateGroup
  • CreateMarker
  • CreateMine
  • CreateSoundSource
  • CreateTrigger
  • CreateVehicle
  • CreateVehicleLocal
  • CreateUnit
  • Crew
  • CutRsc
  • CutText
  • Damage
  • DefValueParam
  • DeleteMarker
  • DeleteStatus
  • DeleteVehicle
  • DeleteWaypoint
  • Driver
  • Done
  • DoFire
  • DoGetOut
  • DoMove
  • DoStop
  • DoTarget
  • DoWatch
  • DisableAi
  • DisableUserInput
  • DissolveTeam
  • Distance
  • EnableAI
  • EnableEnviroment
  • EnableRadio
  • EnableReload
  • Enemy
  • ExecVM
  • ExitWith
  • FadeMusic
  • FadeRadio
  • FadeSound
  • Failed
  • Fire
  • False
  • Flag
  • FlagOwner
  • Floor
  • FlyInHeight
  • Format
  • ForEach
  • ForceMap
  • ForceSpeed
  • Fuel
  • GameTyp
  • GetDammage
  • GetDir
  • GetMarkerPos
  • GetPos
  • GetPosASL
  • GetSpeed
  • GlaceAt
  • GlobalChat
  • GoTo
  • Group
  • GroupChat
  • GrpNull
  • Gunner
  • HandsHit
  • HasWeapon
  • Hidden
  • Hint
  • HintC
  • HintCadet
  • If then else
  • In
  • InFlame
  • IsEngineOn
  • IsNull
  • IsServer
  • Join
  • KnowsAbout
  • Land
  • LandAt
  • LimitSpeed
  • Localize
  • Local Player
  • Local Server
  • Lock, Locked
  • LookAt
  • LoadIdentity
  • LoadStatus
  • Magazines
  • MapAnimAdd
  • MapAnimClear
  • MapAnimCommit
  • MapAnimDone
  • MaxPlayers
  • MaxScore
  • MinPlayers
  • MinScore
  • ModelToWorld
  • Move
  • MoveInCargo
  • MoveInCommander
  • MoveInTurret
  • NearestBuilding
  • NearestObject
  • Not
  • ObjNull
  • ObjStatus
  • OnLoadIntro
  • OnLoadIntroTime
  • OnLoadMission
  • OnLoadMissionTime
  • OnPlayerConnected
  • OnMapSingleClick
  • OrderGetIn
  • PlayMove
  • PreLoadCamera
  • PreLoadMusic
  • PreLoadObject
  • PreLoadSound
  • PreLoadTitleRsc
  • PreProcessFile
  • PrimaryWeapon
  • Random
  • Rating
  • RemoveAction
  • RemoveBackPack
  • RemoveEventhandler
  • RemoveGoggles
  • RemoveHeadGear
  • RemoveUniform
  • RemoveVest
  • RemoveWeapon
  • RemoveAllWeapons
  • RemoveMagazine
  • RemoveSwitchableUnit
  • Respawn
  • RespawnDelay
  • RespawnDialog
  • RespawnVehicle
  • RespawnVehicleDelay
  • Reveal
  • Saving
  • SaveGame
  • SaveIdentity
  • SaveStatus
  • SaveVar
  • Say
  • ScriptDone
  • SecondaryWeapon
  • SelectLeader
  • SelectPlayer
  • SelectWeapon
  • SetAccTime
  • SetAmmoCargo
  • SetAperture
  • SetBehaviour
  • SetCaptive
  • SetCombatMode
  • SetDamage, SetDammage
  • SetDate
  • SetDir
  • SetFace
  • SetFaceAnimation
  • SetFlagOwner
  • SetFlagSide
  • SetFlagTexture
  • SetFog
  • SetFormation
  • SetFormDir
  • SetFriend
  • SetFuel
  • SetFuelCargo
  • SetGroupID
  • SetIdentity
  • SetLightAmbient
  • SetLightBrightness
  • SetLightColor
  • SetMarkerAlpha
  • SetMarkerBrush
  • SetMarkerColor
  • SetMarkerDir
  • SetMarkerPos
  • SetMarkerShape
  • SetMarkerSize
  • SetMarkerText
  • SetMarkerType
  • SetMusicEffect
  • SetMimic
  • SetOverCast
  • SetPos
  • SetRain
  • SetRank
  • SetRepairCargo
  • SetSkill
  • SetSoundEffect
  • SetTargetAge
  • SetTerrainGrid
  • SetTriggerActivation
  • SetTriggerArea
  • SetTriggerStatements
  • SetTriggerText
  • SetTriggerTimeOut
  • SetTriggerType
  • SetUnitAbility
  • SetUnitPos
  • SetVehicleAmmo
  • SetVehicleArmor
  • SetVehicleInit
  • SetVehiclePosition
  • SetVelocity
  • SetViewDistance
  • SetWaypointType
  • SetWaypointBehaviour
  • SetWaypointCombatMode
  • SetWaypointDescription
  • SetWaypointFormation
  • SetWaypointHousePosition
  • SetWaypointPosition
  • SetWaypointScript
  • SetWaypointSpeed
  • SetWaypointStatements
  • SetWaypointTimeOut
  • ShowCinemaBorder
  • ShowCompass
  • ShowDebriefing
  • ShowGps
  • ShowMap
  • ShowNotePad
  • ShowRadio
  • ShowWatch
  • ShowWaypoint
  • SideChat
  • SkipTime
  • SomeAmmo
  • Stop
  • SwitchLight
  • SwitchMove
  • SwitchCamera
  • This
  • ThisList
  • Terminate
  • TitleCut
  • TitleFadOut
  • TitleText
  • TitleParam
  • TitleRsc
  • True
  • UnAssignTeam
  • UnAssignVehicle
  • Unlocked
  • VehicleChat
  • Visible
  • WaitUntil
  • WeaponDirection
  • WeaponHolder

Action

syntax:
-Name action [<type>];
-Name action [<type>, <target>];
-Name action [<type>, <target>, extra parameter];

example:
-["Eject",Heli1];
-["Hidebody", Player2];

 

AddAction

syntax:
-ID = Player addAction ["your text","skript.sqs"];
-ID = Vehicle addAction [“yourtext“,“skript.sqs“]

 

[<AddBackPack>]

syntax:
-Name addBackPack “Classname“;

 

AddEventhandler

syntax:
-Name addEventHandler ["Eventhandler", Code];

example:
-Player1 addEventHandler ["Killed", {_this exec "Skript.sqs"}];
-{_x addEventHandler ["Killed", {hint "Kill!"}]} foreach [Player1, Player2, Player3, Player4];

 

AddGoggles

syntax:
-Name addGoggles “Classname“;

 

AddHeadGear

syntax:

-Name addHeadGear “Classname“

 

AddRating

syntax:
-Player addRating ammount;

example:
-Player6 addRating 2000;
-Player3 addRating -1500;

 

AddSwitchableUnit

syntax:
-addSwitchableUnit Name;

example:
-addSwitchableUnit Player4;

 

[<AddUniform>]

syntax:
-Name addUniform “Classname“

 

[<AddVest>]

syntax:
-Name addVest “Classname“

 

[<AddWeapon>]

syntax:
-Name addWeapon "Classname";
-Object addWeapon “Classname“;

example:
-Player2 addWeapon “arifle_MX_Hamr_point_grip_F“;
-Chest_1 addWeapon “arifle_MX_Hamr_point_grip_F“;

 

[<AddMagazine>]

syntax:
-Name addMagazine “Magazine“;
-Object addMagazine “Magazine“;

example:
-Player1 addMagazine
“30Rnd_65x39_caseless_mag“;
-Chest_3 addMagazine “30Rnd_65x39_caseless_mag“;

 

[<AddWeaponCargo>]

syntax:
-Object addWeaponCargo “Weapon“;

example:
-Box addWeaponCargo “arifle_MX_Hamr_point_grip_F“;

 

[<AddWaypoint>]

syntax:
-WP1 = Name addWaypoint [position, radius];

example:
-WP1 = Player3 addWaypoint [position player, 50];

 

[<AddMagazineCargo>]

syntax:
-Object addMagazineCargo “Magazine“;

example:
-Box addMagazineCargo “30Rnd_65x39_caseless_mag“;

 

[<AIKills>]

syntax:
-AIKills=1;
-AIKills=0;

 

[<Alive>]

syntax:
-aliv Name;

example:
-alive Player1;

 

[<AllowGetin>]

syntax:
-[Name1, Name2, Name3] allowGetIn false;
-[Name1, Name2, Name3] allowGetIn true;

example:
-[Player1, Player2, Player3] allowGetIn false;


[<AllowFleeing>]

syntax:
-Name allowFleeing number;
-Name allowFleeing (random number);

example:
-this allowFleeing 0.6;
-Player4 allowFleeing (random 0.6):

 

[<And>]

syntax:
-variable1 AND variable2 AND variableXYZ;

example:
-!alive player1 AND alive player3;

 

[<Animate>]

syntax:
-object animate ["object",1]

example:
-House animate ["Dvere1",1]
-Target animate ["Terc",1]

 

[<AnimationState>]

syntax:
-? animationState _Unit == "Animation" : hint “text”;

example:
-? animationState _Unit == "AmovPsitMstpSlowWrflDnon" : hint “it works!”;

 

[<AssignAsCargo>]

syntax:
-Name assignAsCargo Vehicle;

example:
-Player8 assignAsCargo Car1;


[<AssignACommander>]

syntax:
-Name assignAsCommander Vehicle;

example:
-Player2 assignAsCommander Car1;

 

[<AssignAsDriver>]

syntax:
-Name assignAsDriver Vehicle;

example:
-Player3 assignAsDriver Car1

 

[<AssignAsGunner>]

syntax:
-Name assignAsDriver Vehicle;

example:
-Player2 assignAsDriver Car1;

 

[<AssignTeam>]

syntax:
-Name assignTeam “Team“

example:
-Player5 assignTeam “Blue“

 

[<AssignToAirport>]

syntax:
-object assignToAirport airportnumber

example:
-jet1 assignToAirport 2

 

[<AssignedVehicle>]

syntax:
-hint format ["assigned vehicle: %1", assignedVehicle Name]

example:
-hint format [“car1: %1“, assignedVehicle Player1]

 

[<AssignedVehicleRole>]

syntax:
-hint format [“assigned vehicle: %1“, assignedVehicleRole Name]

example:
-hint format [“car2: %1“, assignedVehicleRole Player2]

 

[<AVGScore>]

syntax:
-AVGScore= ammount

example:
-AVGScore= 3000

 

[<BuildingPos>]

syntax:
-this setPos [House buildingPos Positionnumber];

example:
-this setPos [House3 buildingPos 7];

 

[<Call>]

syntax:
-_variable = [Datas] call skript.sqf;

 

[<CamUseNVG>]

syntax:
-camUseNVG true;
-camUseNVG false;

[<CanMove>]

syntax:
-canMove vehicle;
-!canMove vehicle;

example:
-CanMove car1;
-!CanMove car2;

 

[<CanFire>]

syntax:
-CanFire Name;
-!CanFire Name;

example:
-CanFire Player1;
-!CanFire Player2;

 

[<CanStand>]

syntax:
-CanStand Name;
-!CanStand Name;

example:
-CanStand Player3;
-!CanStand Player4;

 

[<Case>]

example:
-case 1: exit

 

[<Ceil>]

example:
-ceil 6.23

 

[<ClearWeaponCargo>]

syntax:
-clearWeaponCargo Name;

example:
-clearWeaponCargo Box1;

 

[<ClearMagazineCargo>]

syntax:
-clearMagazineCargo Name;

example:
-clearMagazineCargo Box2;

 

[<CloseDialog>]

syntax:
-action = “closeDialog 0;[] exec ““script.sqs““ “;

 

[<CommandTarget>]

syntax:
-Name1 commandTarget Name2;

example:
-Player1 commandTarget Player2;

 

[<CommandFire>]

syntax:
-Name1 commandFire Name2;

example:
-Player3 commandFire Player4;

 

[<CommandMove>]

syntax:
-Name1 commandMove Name2;

example:
-Player5 commandMove Player6;

 

[<CommandStop>]

syntax:
-Name1 commandStop Name2;

example:
-Player1 commandStop Player3;

 

[<CommandTarget>]

syntax:
-Name1 commandTarget Name2

example:
-Player3 commandTarget Player4

 

[<Compile>]

syntax:
-Name = compile preprocessFile “skript.sqs“

example:
-SearchLight = compile preprocessFile “SearchLight.sqs“

 

[<ComposeText>]

example:
-hint composeText [parsetext format
["<t size='1.2' align='center' color='#ff0000'>Hello %1</t>", name player]];

 

[<Count>]

syntax:
-count = ammount

example:
-count = 4

 

[<CreateDialog>]

example:
-_video= creatDialog “Videodialog“;

 

[<CreateGroup>]

syntax:
-Name = createGroup Side;

example:
-Grp1 = createGroup East;

 

[<CreateMarker>]

syntax:
-_Marker = createMarker [“Name“, position Player];

example:
-_Marker1 = createMarker [“M1“, position Player];

 

[<CreateMine>]

syntax:
-Name = createMine ["MineMine", position player, [], 0];

example:
-Mine = createMine ["MineMine", position player, [], 0];

 

[<CreateSoundSource>]

syntax:
-Name=createSoundSource ["Sound",position Player,[],10];

example:
-Dog1=createSoundSource ["LittleDog",position Player,[],10]

 

[<CreateTrigger>]

syntax:
-Name = createTrigger ["EmptyDetector", position Player];
-Name = createTrigger ["EmptyDetector", [X,Y,Z]];

example:
-Trigger1 = createTrigger ["EmptyDetector", position Player];

 

[<CreateVehicle>]

syntax:
-VehicleName = “Vehicle“ createVehicle [x,y,z];

example:
-Air1 = “LIB_FW190F8“ createVehocle [124,102,0];

 

[<CreateVehicleLocal>]

example:
-_light = "#lightpoint" createVehicle position _object;

 

[<CreateUnit>]

syntax:
-“Unit“ createUnit [position player, name of group leader, “UnitName=this“, Skill, “Rank“;

example:
-"SoldierESniper" createUnit [position player, S1, "Name1=this",0.4,"Corporal"];
-"SoldierESniper" createUnit [getMarkerPos "Marker1",EGrp1,0.8,"Corporal"];

 

[<Crew>]

syntax:
-Player in (crew vehiclename);

example:
-Player in (crew car1);

 

[<CutRsc>]

example:
-cutRsc ["Binocular", "PLAIN",0.1];

 

[<CutText>]

example:
-cutText ["Test", "Black In"];

 

[<Damage>]

syntax:
-? damage Name >= ammount;

example:
-? damage Player1 >= 0.5;

 

[<DefValueParam>]

syntax:
-DefValueParam = ammount;

example:
-DefValurParam =1800;

 

[<DeleteMarker>]

syntax:
-deleteMarker “Name“;

example:
-deleteMarker “Marker1“;

 

[<DeleteStatus>]

syntax:
-deleteStatus “Name“;

example:
-deleteStatus “Status1“;

 

[<DeleteVehicle>]

syntax:
-deleteVehicle Name;

example:
-deleteVehicle Car1;

 

[<DeleteWaypoint>]

syntax:
-deleteWaypoint Name;

example:
-deleteWaypoint WP1;

 

[<Driver>]

syntax:
-Name as Driver;

example:
-Player2 as Driver;

 

[<Done>]

example:
-? Var1 : "1" objStatus“DONE”;

 

[<DoFire>]

syntax:
-Name1 doFire Name2;
-Name doFire ObjNull;

example:
-Player1 doFire Player2;
-Player3 doFire ObjNull;

 

[<DoGetOut>]

syntax:
-doGetOut Name;

example:
-doGetOut Player2;

 

[<DoMove>]

syntax:
-Name doMove (Housename buildingPos position);

example:
-Player3 doMove (House1 buildingPos 7);

 

[<DoStop>]

syntax:
-doStop this;

 

[<DoTarget>]

syntax:
-Name1 doTarget Name2;

example:
-Player3 doTarget Player4;

 

[<DoWatch>]

syntax:
-Name1 doWatch Name2;

example:
-Player5 doWatch Player6;

 

[<DisableAI>]

syntax:
-Name disableAI “Anim“;
-Name disableAI "Move";
-Name disableAI "Target";
-Name disableAI "Autotarget";
-Name disableAI "Anim";
Name disableAI "Watch";

example:
-Player1 disableAi “Move“;

 

[<DisableUserInput>]

syntax:
-this disableUserInput;

 

[<DissolveTeam>]

syntax:
-dissloveTeam “team“;

example:
-dissloveTeam “Blue“;

 

[<Distance>]

syntax:
-Name1 distance Name2 <= ammount;

example:
-Player1 distance Jeep2 <= 100;

 

[<EnableAI>]

syntax:
-Name enableAI “Anim“;
-Name enableAI "Move";
-Name enableAI "Target";
-Name enableAI "Autotarget";
-Name enableAI "Anim";
-Name enableAI "Watch";

example:
-Player2 enableAI “Watch“;

 

[<EnableEnvironment>]

syntax:
-enableEnvironment true;
-enableEnvironment false;

 

[<EnableRadio>]

syntax:
-enableRadio true;
-enableRadio false;

 

[<EnableReload>]

syntax:
-Name enableReload false;
-Name enableReload true;

example:
-Player4 enableReload false;

 

[<Enemy>]

syntax:
-Side setFriend [Enemy,1];
-Side setFriend [Enemy,0];

example:
-West setFriend [Enemy, 0];

 

[<ExecVM>]

syntax:
-[Datas] execVm “skript.sqf“;

 

[<ExitWith>]

syntax:
-if (condition) exitWith {};

example:
-if (!alive player7) exitWith {};

 

[<FadeMusic>]

syntax:
-time FadeMusic soundvolume;

example:
-10 FadeMusic 0.5;

 

[<FadeRadio>]

syntax:
-time FadeRadio soundvolume;

example:
-0 FadeRadio 0.1;

 

[<FadeSound>]

syntax:
-time FadeSound soundvolume;

example:
-5 FadeSound 1;

 

[<Failed>]

example:
-“2“ ObjStatus “Failed“;

 

[<Fire>]

syntax:
-Name fire “weapon“;

example:
-Player2 fire “arifle_MX_F“;

 

[<False>]

example:
-Palyer3 setCaptive false;

 

[<Flag>]

syntax:
-Flag Name;
-Flag Name == Flag Side;

example:
-Flag Player2;
-Flag Player1 == Flag West;

 

[<FlagOwner>]

syntax:
-flagOwner Name
-flagOwner Flag Side == Name;

example:
-flagOwner Player3
-flagOwner Flag East == Player4;

 

[<Floor>]

syntax:
-Floor ammount;

example:
-Floor 3,6;

 

[<FlyInHeight>]

syntax:
-Name flyInHeight height;

exampel:
-Jet2 flyInHeight 120;

 

[<Format>]

example:
-hint format [“%1“, magazines this];

 

[<ForEach>]

example:
-{_x setDamage 1} forEach crew Car3;

 

[<ForceMap>]

syntax:
-forceMap true;
-forceMap false;

 

[<ForceSpeed>]

syntax:
-Vehicle forceSpeed speed;

example:
-Car2 forceSpeed 130;

 

[<Fuel>]

syntax:
-Fuel vehicle == ammount;

example:
-Fuel vehicle == 0.8;

 

[<GameTyp>]

syntax:
-gameTyp = typ;

example:
-gameTyp = COOP;

 

[<GetDammage>]

example:
-? getDammage Player1 >= 0.7;
-getDammage House1 > 0.3;

 

[<GetDir>]

example:
-_dir = (getDir _Unit);

 

[<GetMarkerPos>]

example:
-“Marker1“ setMarkerPos getMarkerPos “Marker2“;

 

[<GetPos>]

syntax:
-Object setPos getPos Name;

example:
-trigger2 setPos getPos Player1;

 

[<GetPosASL>]

syntax:
-getPosASL Name select2;

example:
-getPosASL Player3 select2;

 

[<GetSpeed>]

syntax:
-Name1 setSpeed getSpeed Name2;

example:
-Car1 setSpeed getSpeed Car2;

 

[<GlaceAt>]

syntax:
-Name1 glaceAt Name2;

example:
-Player1 glaceAt Car2;

 

[<GlobalChat>]

syntax:
-Name globalChat “text“;

example:
-Player5 globalChat “Hey!“;

 

[<GoTo>]

example:
-goTo “Start“;

 

[<Group>]

example:
-{_x moveIn Cargo Jet1} for each units group this;

 

[<GroupChat>]

syntax:
-Name groupChat “Hey!“;

 

[<GrpNull>]

syntax:
-[ Name ] join grpNull;

example:
-[ Player2 ] join grpNull;

 

[<Gunner>]

syntax:
-Name=(Gunner Vehicle);

example:
-Player=(Gunner Heli1);

 

[<HandsHit>]

example:
-? (handsHit Player2 == 1): Player2 sideChat “They got me!“;

 

[<HasWeapon>]

syntax:
-Name hasWeapon “Weapon“;

example:
-Player2 hasWeapon “MP40“;

 

[<Hidden>]

example:
-“2“ objStatus “Hidden“;

 

[<Hint>]

syntax:
-hint “text“;

example:
-hint “Hey Guys!“;

 

[<HintC>]

syntax:
-hintC “text“;

example:
-hintC “Hey Dude!“;

 

[<HintCadet>]

syntax:
-hintCadet “text“;

example:
-hintCadet “Hey Ho!“;

 

[<If then else>]

syntax:
-if (a>b) then {c=1} else {c=2};

 

[<In>]

syntax:
-Name in vehicle;

exampel:
-Player3 in Car3;

 

[<InFlame>]

syntax:
-Name inFlame true;
-Name inFlame false;

example:
-Fire1 inFlame true;

 

[<IsEngineOn>]

syntax:
-IsEngineOn Vehicle;

example:
-IsEngineOn Car2;

 

[<IsNull>]

syntax:
-isNull driver vehicle;
-!isNull driver vehicle;

example:
-!isNull driver car1;

 

[<IsServer>]

syntax:
-? isServer: hint “text“;

example:
-? isSever: hint “It's a server“;

 

[<Join>]

syntax:
-[Name] join Name2;

example:
-[Name1] join Name2;

 

[<KnowsAbout>]

syntax:
-Name1 knowsAbout Name2 >ammount;
-Name2 knowsAbout Name3 <ammount;

example:
-Player2 knowsAbout Player1 <0.7;

 

[<Land>]

syntax:
-Object land “positionname“;

example:
-Heli2 land “Place1“;

 

[<LandAt>]

syntax:
-Object landAt airportnumber;

example:
-Jet1 landAt 2;

 

[<LimitSpeed>]

syntax:
-Name limitSpeed ammount;

example:
-Car2 limitSpeed 40;

 

[<Localize>]

example:
-hint localize “STR_MP_04“;

 

[<Local Player>]

example:
-?!(local Player) : exit;

 

[<Local Server>]

example:
-?!(local Server) : exit;

 

[<Lock, Locked>]

syntax:
-vehiclename lock true;
-vehiclename lock false;

example:
-car2 lock true;

 

[<LookAt>]

syntax:
-Name1 lookAt Name2;

example:
-Player3 lookAt Player2;

 

[<LoadIdentity>]

syntax:
-Name loadIdentity “Name1Save“;

example:
-Player loadIdentity “Player2Save“;

 

[<LoadStatus>]

syntax:
xy=Name2 loadStatus “Status1“;

 

[<Magazines>]

example:
-hint format [“%1“, magazines this];

 

[<MapAnimAdd>]

syntax:
-mapAnimAdd [time, zoom, markerpos];

example:
-mapAnimAss [3, 0.1 , markerPos “Marker1“];

 

[<MapAnimClear>]

syntax:
mapAnimClear;

 

[<MapAnimCommit>]

syntax:
mapAnimCommit;

 

[<MapAnimDone>]

syntax:
@mapAnimDone;

 

[<MaxPlayers>]

syntax:
-maxPlayers = ammount;

example:
-maxPlayers = 10;

-

[<MaxScore>]

syntax:
-maxScore = ammount;

example:
-macScore = 3000;

 

[<MinPlayers>]

syntax:
-minPlayers = ammount;

example:
-minPlayers = 2;

 

[<MinScore>]

syntax:
-minScore = ammount;

example:
-minScore = 200;

 

[<ModelToWorld>]

example:
-Player2 setPos Player1 modelToWorld [0,3,0];

 

[<Move>]

syntax:
-Name1 move getPos Name2;

example:
-Player2 move getPos Player3;

 

[<MoveInCargo>]

syntax:
-Name moveInCargo vehicle;

example:
-Player1 moveInCargo Car1;

 

[<MoveInCommander>]

syntax:
-Name moveInCommander vehicle;

example:
-Player3 moveInCommander Car3;

 

[<MoveInTurret>]

syntax:
-Name moveInTurret vehicle;

example:
-Player 3 moveInTurret Tank1;


[<NearestBuilding>]

syntax:
-House= nearestBuilding this;

 

[<NearestObject>]

syntax:
-Object= nearestObject this;

 

[<Not>]

example:
-not alive;

 

[<ObjNull>]

example:
Player1 doFire ObjNull;

 

[<ObjStatus>]

example:
-“2“ ObjStatus “Visible“;

 

[<OnLoadIntro>]

syntax:
-OnLoadIntro= text;

example:
-OnLoadIntro= Jacob Presents;

 

[<OnLoadIntroTime>]

syntax:
-OnLoadIntroTime= time;

example:
-OnLoadIntroTime= 1;

 

[<OnLoadMission>]

syntax:
-OnLoadMission= text;

example:
-OnLoadMission= World War 2;

 

[<OnLoadMissionTime>]

syntax:
-OnLoadMissionTime= time;

example:
-OnLoadMissionTime= 1;

 

[<OnPlayerConnected>]

syntax:
-OnPlayerConnected “Server exec “script““;

 

[<OnMapSingleClick>]

syntax:
-OnMapSingleClick “Player setPos_pos“;

 

[<OrderGetIn>]

syntax:
-[Name] orderGetIn true;
-[Name] orderGetIn false;

exampel:
-[Player2] orderGetIn false;

 

[<PlayMove>]

syntax:
-Name playmove “Animation“;

 

[<PreLoadCamera>]

syntax:
-_preLoad = [] spawn {waitUntil {preLoadCamera position Name}};

example:
-_preLoad = [] spawn {waitUntil {preLoadCamera position Player3}};

 

[<PreLoadMusic>]

syntax:
-preLoadMusic Track;

example:
-preLoadMusic Track1;

 

[<PreLoadObject>]

syntax:
-_preLoad spawn {waitUntil {distance preLoadObject
Name}};

example:
-_preLoad spawn {waitUntil {5 preLoadObject box1}};


[<PreLoadSound>]

syntax:
-preLoadSound Sound;

example:
-preLoadSound Dogbell;

 

[<PreLoadTitleRsc>]

syntax:
-preLoadTitleRsc [“Text“, “Position“];

example:
-preLoadTitleRsc [“WW2“, “Plain“];

 

[<PreProcessFile>]

syntax:
-Funktion = compile preProcessFile “skript“;

example:
-searchLight = compile preProcessFile “light.sqf;

 

[<PrimaryWeapon>]

-? (primaryWeapon Player != “MP40“);

 

[<Random>]

example:
-this allowFleeing (random 0.8);

 

[<Rating>]

syntax:
-rating Name > ammount;

example:
-rating Player > 3000;

 

[<RemoveAction>]

syntax:
-Player removeAction ID;

 

[<RemoveBackPack>]

syntax:
-Name removeBackPack “Classname“;

 

[<RemoveEventhandler>]

syntax:
-Name removeEventhandler [“Event“,0];

example:
-Player1 removeEventhandler [“Killed“,0];

 

[<RemoveGoggles>]

syntax:
-Name removeGoggles “Classname“;

 

[<RemoveHeadGear>]

syntax:
-Name removeHeadGear “Classname“;

 

[<RemoveUniform>]

syntax:
-Name removeUniform “Classname“;

 

[<RemoveVest>]

syntax:
-Name removeVest “Classname“;

 

[<RemoveWeapon>]

syntax:
-Name removeWeapon “Classname“;

 

[<RemoveAllWeapons>]

syntax:
-removeAllWeapons Name;

example:
-removeAllWeapons Player3;

 

[<RemoveMagazine>]

syntax:
-removeAllMagazines Name;

example:
-removeAllMagazines Player4;

 

[<RemoveSwitchableUnit>]

syntax:
-removeSwitchableUnit Name;

example:
-removeSwitchableUnit Player2;

 

[<Respawn>]

syntax:
-respawn=ammount;

example:
-respawn=3;

 

[<RespawnDelay>]

syntax:
-respawnDelay=ammount;

example:
-respawnDelay=6;

 

[<RespawnDialog>]

syntax:
-respawnDialog = true;
-respawnDialog = false;

 

[<RespawnVehicle>]

syntax:
-respawnVehicle=ammount;

example:
-respawnVehicle=3;

[<RespawnVehicleDelay>]

syntax:
-respawnVehicleDelay=ammount;

example:
-respawnVehicleDelay=10;

 

[<Reveal>]

syntax:
-Name1 reveal Name2;

example:
-Player2 reveal Player1;

 

[<Saving>]

syntax:
-saving= 0;
-saving= 1;

 

[<SaveGame>]

syntax:
-Savegame;

 

[<SaveIdentity>]

syntax:
-Name saveIdentity “identity“;

example:
-Player saveIdentity “Player1save“;

 

[<SaveStatus>]

syntax:
-xy=Name1 saveStatus “Status“;

 

[<SaveVar>]

syntax:
-saveVar “Variable“;

 

[<Say>]

syntax:
-Name say “Soundname“;

 

[<ScriptDone>]

example:
-@scriptdone_preload;

 

[<SecondaryWeapon>]

example:
-(secondaryWeapon Player !=“Stinger“;

 

[<SelectLeader>]

syntax:
-group Name selectLeader Name;

example:
-group Grp1 selectLeader Player2;

 

[<SelectPlayer>]

syntax:
-selectPlayer Name;

example:
-selectPlayer Player2;

 

[<SelectWeapon>]

syntax:
-Name selectWeapon “Weapon“;

 

[<SetAccTime>]

syntax:
-setAccTime time;

example:
-setAccTime 1;

 

[<SetAmmoCargo>]

syntax:
-Name setAmmoCargo ammount;

example:
-Car2 setAmmoCargo 0.7;



[<SetAperture>]

syntax:
-setAperture 1;
-setAperture 200;

 

[<SetBehaviour>]

syntax:
-Name setBehaviour “behaviour“;

example:
-Player setBehaviour “Careless“;

 

[<SetCaptive>]

syntax:
-Name setCaptive true;
-Name setCaptive false;

 

[<SetCombatMode>]

syntax:
-Name setCombatMode “mode“;

example:
-Player2 setCombatMode “Blue“;

 

[<SetDamage, SetDammage>]

syntax:
-Name setDamage 1;
-Name setDamage 0;
-Name setDammage 1;
-Name setDammage 0;

 

[<SetDate>]

syntax:
-setDate [Date];

example:
-setDate [1943,10,28,0];

 

[<SetDir>]

syntax:
-Object setDir ammount;

example:
-Pak40 setDir 150;

 

[<SetFace>]

syntax:
-Name setFace “FaceNumber“;

example:
-Name setFace “Face2“;

 

[<SetFaceAnimation>]

syntax:
-Name setFaceAnimation ammount;

example:
-Player2 setFaceAnimation 0.4;

 

[<SetFlagOwner>]

syntax:
-FlagName setFlagOwner Name;

example:
-FlagEast1 setFlagOwner Player4;

 

[<SetFlagSide>]

syntax:
-this setFlagSide Side;

example:
-this setFlagSide West;

 

[<SetFlagTexture>]

syntax:
-this setFlagTexture “Flag.jpg“;

 

[<SetFog>]

syntax:
-changetime setFog ammount;

example:
-10 setFog 0.8;

 

[<SetFormation>]

syntax:
-Name setFormation “Formation“;

example:
-Leader2 setFormation “Line“;

 

[<SetFormDir>]

syntax:
-Name setFormDir ammount;

example:
-Name setFormDir 160;

 

[<SetFriend>]

syntax:
-Side1 setFriend [Side2,ammount];

example:
-West setFriend [East, 0.2];

 

[<SetFuel>]

syntax:
-Vehicle setFuel ammount;

example:
-Car1 setFuek 0.4;

 

[<SetFuelCargo>]

syntax:
-Name setFuelCargo ammount;

example:
-Car2 setFuelCargo 1;

 

[<SetGroupID>]

example:
-Player3 setGroupID [“Alpha“,“GroupColor0“];

 

[<SetIdentity>]

syntax:
-Name setIdentity “Name“;

example:
-Player setIdentity “Werner Holt“;



<SetLightAmbient>]

syntax:
-LightName setLightAmbient [ammount];

example:
-_Light1 setLightAmbient [0,0,1];

 

[<SetLightBrightness>]

syntax:
-LightName setLightAmbient [ammount];

example:
-_Light2 setLightAmbient (0.1/0.1);

 

[<SetLightColor>]

syntax:
-Name setLightColor [ammount];

example:
-_Light3 setLightColor [0,0,2];

 

[<SetMarkerAlpha>]

syntax:
-“Name“ setMarkerAlpha ammount;

example:
-“Marker1“ setMarkerAlpha 0;

 

[<SetMarkerBrush>]

syntax:
-“Name“ setMarkerBrush “type“;

example:
-“Marker2“ setMarkerBrush “Horizontal“;

 

[<SetMarkerColor>]

syntax:
-“Name“ setMarkerColor “ColorColor“;

example:
-“Marker3 setMarkerColor “ColorRed“;

 

[<SetMarkerDir>]

syntax:
-“Name“ setMarkerDir ammount;

-“Marker4“ setMarkerDir 90;


SetMarkerPos

syntax:
-“Name“ setMarkerPos Pos;

example:
-“Marker5“ setMarkerPos [0,0];

 

[<SetMarkerShape>]

syntax:
-“Name“ setMarkerShape “type“;

example:
-“Marker2“ setMarkerShape “Ellipse“;

 

[<SetMarkerSize>]

syntax:
-“Name“ setMarkerSize [ammount];

example:
-“Marker3“ setMarkerSize [100,200];

 

[<SetMarkerText>]

syntax:
-“Name“ setMarkerText “text“;

example:
-“Marker1“ setMarkerText “Hold Position!“;

 

[<SetMarkerType>]

syntax:
-“Name“ setMarkerTyp “typ“;

example:
-“Marker4“ setMarkerTyp “Arrow“;

 

[<SetMusicEffect>]

syntax:
-Trigger setMusicEffect “effect“;

example:
-Trigger1 setMusicEffect “ATrack5“;

 

[<SetMimic>]

syntax:
-Name setMimic “Mimic“;

example:
-Player2 setMimic “Smile“;

 

[<SetOverCast>]

syntax:
-changetime setOvercast ammount;

example:
-60 setOvercast 0.9;

 

[<SetPos>]

syntax:
-Name setPos [Position];

example:
-Player1 setPos [120,300,1];

 

[<SetRain>]

syntax:
-changetime setRain ammount;

example:
-10 serRain 0.3;

 

[<SetRank>]

syntax:
-Name setRank “Rank“;

example:
-Player1 setRank “Major“;

 

[<SetRepairCargo>]

syntax:
-Name setRepairCargo ammount;

example:
-Player2 setRepairCargo 1;

 

[<SetSkill>]

syntax:
-Name setSkill ammount;

example:
-Player1 setSkill 0.7;

 

[<SetSoundEffect>]

example:
-Trigger1 setSoundEffect [“Alarm“,““,““,““];

 

[<SetTargetAge>]

syntax:
-Name setTargetAge “age“;

example:
-Player3 setTargetAge “ACTUAL“;

 

[<SetTerrainGrid>]

syntax:
-setTerrainGrid ammount;

example:
-SetTerrainGrid 12.5;

 

[<SetTriggerActivation>]

syntax:
-TriggerName setTriggerActivation [Activation];

example:
-Trigger1 setTriggerActivation [“West“, “EastD“, true];

 

[<SetTriggerArea>]

example:
-Trigger2 setTriggerArea [120,290,90,“Ellipse“];

 

[<SetTriggerStatements>]

syntax:
-TriggerName setTriggerStatements [“this“,“ammount =true“,“ammount = false“];

 

[<SetTriggerText>]

syntax:
-TriggerName setTriggerText “text“;

example:
-Trigger4 setTriggerText “Artillerie-Support“;

 

[<SetTriggerTimeOut>]

syntax:
-TriggerName setTriggerTimeOut [Min,Mid,Max,false];

 

[<SetTriggerType>]

syntax:
-TriggerName setTriggerType “type“;

example:
-Trigger1 setTriggerType “END5“;

 

[<SetUnitAbility>]

syntax:
-Name setUnitAbility ammount;

example:
-Player2 setUnitAbility 0.6;

 

[<SetUnitPos>]

syntax:
-Name setUnitPos "Up";
-Name setUnitPos "Middle";
-Name setUnitPos "Kneel";
-Name setUnitPos "KneelDown";
-Name setUnitPos "Down";

-Name setUnitPos "Auto";

 

[<SetVehicleAmmo>]

syntax:
-Name setVehicleAmmo ammount;

example:
-Car2 setVehicleAmmo 0.8;

 

[<SetVehicleArmor>]

syntax:
-Name setVehicleArmor ammount

example:
-Car3 setVehicleArmor 0.5;

 

[<SetVehicleInit>]

example:
-Player setVehicleInit "Player say 'Sound1' "; processInitCommands;

 

[<SetVehiclePosition>]

syntax:
-Name setVehiclePosition [[Position], ["Marker1", "Marker2", "Marker3"], 0];

example:
-Name setVehiclePosition [[1000,2000], ["Marker1", "Marker2", "Marker3"], 0];

 

[<SetVelocity>]

syntax:
-Name setVelocity [Velocity];

example:
-Player setVelocity [0,100,100];

 

[<SetViewDistance>]

syntax:
-setViewDistance ammount;

example:
-setViewDistance 500;

 

[<SetWaypointType>]

syntax:
-WPName setWaypointType “Type“;

example:
-WP1 setWaypointType “SENTRY“;

 

[<SetWaypointBehaviour>]

syntax:
-WPName setWaypointBehaviour “type“;

example:
-WP2 setWaypointBehaviour “AWARE“;

 

[<SetWaypointCombatMode>]

example:
-[Group1,2] setWaypointCombatMode “RED“;

 

[<SetWaypointDescription>]

example:
-[Group1, 2] setWaypointDescription “Come Here!“;

 

[<SetWaypointFormation>]

example:
-[Group1, 2] setWaypointFormation "LINE;

 

[<SetWaypointHousePosition>]

example:
-[Group1, 2] setWaypointPosition [position player, 0];

 

[<SetWaypointPosition>]

example:
-[Group1, 2] setWaypointPosition [position player, 0];

 

[<SetWaypointScript>]

example:
-[Group1, 2] setWaypointScript "target.sqs player";

 

[<SetWaypointSpeed>]

example:
-[Group1, 2] setWaypointSpeed "FULL";

 

[<SetWaypointStatements>]

example:
- [Group1, 2] setWaypointStatements ["true", ""];

 

[<SetWaypointTimeOut>]

example:
-[Group1, 2] setWaypointTimeout [5, 10, 6];

 

[<ShowCinemaBorder>]

syntax:
-showCinemaBorder false;
-showCinemaBorder true;

 

[<ShowCompass>]

syntax:
-showCompass=1;
-showCompass=0;

 

[<ShowDebriefing>]

syntax:
-showDebriefing=1;
-showDebriefing=0;

 

[<ShowGps>]

syntax:
-showGps=1;
-showGps=0;


[<ShowMap>]

syntax:
-showMap=1;
-showMap=0;

<ShowNotePad>]

syntax:
-showNotePad=1;
-showNotePad=0;

 

[<ShowRadio>]

syntax:
-showRadio=1;
-showRadio=0;

 

[<ShowWatch>]

syntax:
-showWatch=1;
-showWatch=0;

 

[<ShowWaypoint>]

example:
-[Group1, 2] showWaypoint "ALWAYS";

 

[<SideChat>]

syntax:
-Name sideChat “text“;

example:
-Player2 sideChat “Hey Dude“;

 

[<SkipTime>]

syntax:
-skipTime ammount;

example:
-skipTime 1;
-skipTime -1;

 

[<SomeAmmo>]

example:
-?!(someAmmo Player) : hint "No Ammo!";

 

[<Stop>]

example:
-stop this;

 

[<SwitchLight>]

syntax:
-Name switchLight “on“;
-Name switchLight “off“;

example:
-Lamp1 switchLight “off“;

 

[<SwitchMove>]

syntax:
-Name switchMove “Animation;

 

[<SwitchCamera>]

syntax:
-Player switchCamera “switch“;

example:
-Player switchCamera “Internal“;

 

[<This>]

example:
-this setUnitPos “up“;

 

[<ThisList>]

example:
-{_x setDamage 1} foreach thisList;


[<Terminate>]

example:
-P1 cameraEffect [“terminate“,“back“];

 

[<TitleCut>]

example:
-titleCut [““,“Black In“];

 

[<TitleFadOut>]

syntax:
-titleFadOut ammount;

example:
-titleFadOut 4;

 

[<TitleText>]

example:
-titleText [format["%1 -Soldat", side Player],"plain down"];

 

[<TitleParam>]

example:
-titleParam1 = “time limit“;

 

[<TitleRsc>]

syntax:
-titleRsc [“Text“,“Position“];

example:
-titleRsc [“My Adventure“,“Plain“];

 

[<True>]

example:
-movingEnable = true;

 

[<UnAssignTeam>]

syntax:
-unAssignTeam Name;

example:
-unAssignTeam Team2;

 

[<UnAssignVehicle>]

syntax:
-unAssignVehicle Vehicle;

example:
-unAssignVehicle Car3;

 

[<Unlocked>]

example:
-Car1 unlocked true;

 

[<VehicleChat>]

syntax:
-Name vehicleChat “text“;

example:
-Player2 vehicleChat “Let's drive!“;

 

[<Visible>]

example:
-“2“ objStatus “Visible“;

 

WaitUntil

syntax:
-waitUntil condition;

 

WeaponDirection

syntax:
-hint format ["Dir: %1", Name weaponDirection "M56"];

-hint format [“120: %1“, Player weaponDirection “MP44“];

 

WeaponHolder

syntax:
-Weapon1 = “weaponHolder“ createVehicle [x,y,z];

0
Gunter Severloh

Avatar / Picture

Admin
Registered:
Posts: 2,757
Reply with quote  #2 
Thanks for your work Jacob!
Thread is pinned.

For more commands see the Arma3 wiki here:
https://community.bistudio.com/wiki/Category:Scripting_Commands_Arma_3

__________________
0
Foxsch

Avatar / Picture

Colonel
Registered:
Posts: 458
Reply with quote  #3 
That will be incredibly useful.

Thank you very much indeed Jacob [thumb]

__________________
Mission Repository - http://www.missionrepository.com

0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.