Functions by Functionality: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added examples to every category to have at least 4 (if category has 4 or less commands, all were made into examples). I picked out the commands that I think would be the most useful or most used)
m (Text replacement - "#redirect " to "#REDIRECT ")
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Hatnote|See also: [[Scripting Commands by Functionality]]}}
#REDIRECT [[:Category:Functions by Functionality]]
==Introduction==
This page has been created to help you find the appropriate functions when you are dealing with specific scripting situations (e.g. all functions that have to do with triggers, or to control unit behaviour, etc.).
 
Keep in mind that there can be cases where certain functions may appear in more than one category.
 
<div class="floating-box fnc">
==[[:Category:Function Group: Actions|Actions]]==
'''Description.'''
;e.g.
:[[BIS_fnc_packStaticWeapon]]
:[[BIS_fnc_unpackStaticWeapon]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Ambient|Ambient]]==
'''Description.'''
;e.g.
:[[BIS_fnc_ambientAnim]]
:[[BIS_fnc_ambientFlyby]]
:[[BIS_fnc_animalBehaviour]]
:[[BIS_fnc_ambientBlacklist]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Animals|Animals]]==
'''Description.'''
;e.g.
:[[BIS_fnc_moduleAnimals]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Arrays|Arrays]]==
'''Description.'''
;e.g.
:[[BIS_fnc_arrayPush]]
:[[BIS_fnc_findExtreme]]
:[[BIS_fnc_returnNestedElement]]
:[[BIS_fnc_randomIndex]]
:[[BIS_fnc_sortBy]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Briefing|Briefing]]==
'''Description.'''
;e.g.
:[[BIS_fnc_briefingAnimate]]
:[[BIS_fnc_briefingInit]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: CAS|CAS]]==
'''Description.'''
;e.g.
:[[BIS_fnc_moduleCAS]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Combat|Combat]]==
'''Description.'''
;e.g.
:[[BIS_fnc_enemyDetected]]
:[[BIS_fnc_enemyTargets]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Configs|Configs]]==
'''Description.'''
;e.g.
:[[BIS_fnc_loadClass]]
:[[BIS_fnc_returnParents]]
:[[BIS_fnc_getCfgDataPool]]
:[[BIS_fnc_getCfgData]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Conversations|Conversations]]==
'''Description.'''
;e.g.
:[[BIS_fnc_genericSentence]]
:[[BIS_fnc_genericSentenceInit]]
:[[BIS_fnc_kbCreateDummy]]
:[[BIS_fnc_kbTopicConfig]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Curator|Curator]]==
'''Description.'''
;e.g.
:[[BIS_fnc_drawCuratorRespawnMarkers]]
:[[BIS_fnc_moduleCuratorSetAttributes]]
:[[BIS_fnc_moduleCuratorSetCamera]]
:[[BIS_fnc_curatorWaypointPlaced]]
:[[BIS_fnc_addCuratorAreaFromTrigger]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: CuratorChallenges|CuratorChallenges]]==
'''Description.'''
;e.g.
:[[BIS_fnc_addCuratorChallenge]]
:[[BIS_fnc_curatorChallengeIlluminate]]
:[[BIS_fnc_curatorChallengeSpawnLightning]]
:[[BIS_fnc_manageCuratorChallenges]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: CuratorLite|CuratorLite]]==
'''Description.'''
;e.g.
:None
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Database|Database]]==
'''Description.'''
;e.g.
:[[BIS_fnc_dbImportConfig]]
:[[BIS_fnc_dbValueRemove]]
:[[BIS_fnc_dbValueReturn]]
:[[BIS_fnc_dbValueSet]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Debug|Debug]]==
'''Description.'''
;e.g.
:[[BIS_fnc_codePerformance]]
:[[BIS_fnc_functionPath]]
:[[BIS_fnc_halt]]
:[[BIS_fnc_isDemo]]
:[[BIS_fnc_shutdown]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Diagnostic|Diagnostic]]==
'''Description.'''
;e.g.
:[[BIS_fnc_diagAnim]]
:[[BIS_fnc_diagBulletCam]]
:[[BIS_fnc_diagKnownTargets]]
:[[BIS_fnc_diagRadio]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Effects|Effects]]==
'''Description.'''
;e.g.
:[[BIS_fnc_effectFired]]
:[[BIS_fnc_effectFiredRocket]]
:[[BIS_fnc_effectKilledAirDestruction]]
:[[BIS_fnc_moduleEffectsBubbles]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Environment|Environment]]==
'''Description.'''
;e.g.
:[[BIS_fnc_destroyCity]]
:[[BIS_fnc_moduleSkiptime]]
:[[BIS_fnc_sandstorm]]
:[[BIS_fnc_setFog]]
:[[BIS_fnc_setOvercast]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Events|Events]]==
'''Description.'''
;e.g.
:[[BIS_fnc_moduleDate]]
:[[BIS_fnc_moduleGenericRadio]]
:[[BIS_fnc_moduleSaveGame]]
:[[BIS_fnc_moduleVolume]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Feedback|Feedback]]==
'''Description.'''
;e.g.
:[[BIS_fnc_bloodEffect]]
:[[BIS_fnc_damagePulsing]]
:[[BIS_fnc_fatigueEffect]]
:[[BIS_fnc_indicateBleeding]]
:[[BIS_fnc_healing]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Geometry|Geometry]]==
'''Description.'''
;e.g.
:[[BIS_fnc_dirTo]]
:[[BIS_fnc_distance2D]]
:[[BIS_fnc_inAngleSector]]
:[[BIS_fnc_isInsideArea]]
:[[BIS_fnc_relativeDirTo]]
:[[BIS_fnc_relPos]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: GroupModifiers|GroupModifiers]]==
'''Description.'''
;e.g.
:[[BIS_fnc_moduleCombatGetIn]]
:[[BIS_fnc_moduleGroupID]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: GUI|GUI]]==
'''Description.'''
;e.g.
:[[BIS_fnc_3Dcredits]]
:[[BIS_fnc_credits]]
:[[BIS_fnc_GUIeditor]]
:[[BIS_fnc_typeText]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Helicopters|Helicopters]]==
'''Description.'''
;e.g.
:[[BIS_fnc_helicopterCanFly]]
:[[BIS_fnc_helicopterDamage]]
:[[BIS_fnc_helicopterSeat]]
:[[BIS_fnc_helicopterType]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Heliport|Heliport]]==
'''Description.'''
;e.g.
:None
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Hints|Hints]]==
'''Description.'''
;e.g.
:[[BIS_fnc_advHint]]
:[[BIS_fnc_advHintArg]]
:[[BIS_fnc_advHintCall]]
:[[BIS_fnc_advHintCredits]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Intel|Intel]]==
'''Description.'''
;e.g.
:[[BIS_fnc_moduleCreateDiaryRecord]]
:[[BIS_fnc_moduleDiary]]
:[[BIS_fnc_moduleHQ]]
:[[BIS_fnc_moduleTaskCreate]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Inventory|Inventory]]==
'''Description.'''
;e.g.
:[[BIS_fnc_addWeapon]]
:[[BIS_fnc_baseWeapon]]
:[[BIS_fnc_deleteInventory]]
:[[BIS_fnc_invAdd]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Lightning|Lightning]]==
'''Description.'''
;e.g.
:[[BIS_fnc_moduleLightning]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: LiveFeed|LiveFeed]]==
'''Description.'''
;e.g.
:[[BIS_fnc_liveFeedModuleEffects]]
:[[BIS_fnc_liveFeedModuleInit]]
:[[BIS_fnc_liveFeedModuleSetSource]]
:[[BIS_fnc_liveFeedModuleSetTarget]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Map|Map]]==
'''Description.'''
;e.g.
:[[BIS_fnc_drawAO]]
:[[BIS_fnc_mapSize]]
:[[BIS_fnc_markerToTrigger]]
:[[BIS_fnc_markWaypoints]]
:[[BIS_fnc_randomPosTrigger]]
:[[BIS_fnc_worldArea]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Mines|Mines]]==
'''Description.'''
;e.g.
:[[BIS_fnc_moduleMine]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Misc|Misc]]==
'''Description.'''
;e.g.
:[[BIS_fnc_addStackedEventHandler]]
:[[BIS_fnc_buildingPositions]]
:[[BIS_fnc_listPlayers]]
:[[BIS_fnc_PosToGrid]]
:[[BIS_fnc_runLater]]
:[[BIS_fnc_traceBullets]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Missions|Missions]]==
'''Description.'''
;e.g.
:[[BIS_fnc_basicTask]]
:[[BIS_fnc_forceEnd]]
:[[BIS_fnc_missionHandlers]]
:[[BIS_fnc_missionTasks]]
:[[BIS_fnc_singleMissionConfig]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: MissionTypes|MissionTypes]]==
'''Description.'''
;e.g.
:[[BIS_fnc_moduleMPTypeDefense]]
:[[BIS_fnc_moduleMPTypeGameMaster]]
:[[BIS_fnc_moduleMPTypeSectorControl]]
:[[BIS_fnc_moduleMPTypeSeize]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: ModuleFiringDrills|ModuleFiringDrills]]==
'''Description.'''
;e.g.
:[[BIS_fnc_moduleFDCPClear]]
:[[BIS_fnc_moduleFDCPIn]]
:[[BIS_fnc_moduleFDCPOut]]
:[[BIS_fnc_moduleFiringDrill]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Modules|Modules]]==
'''Description.'''
;e.g.
:[[BIS_fnc_initModules]]
:[[BIS_fnc_moduleExecute]]
:[[BIS_fnc_moduleModules]]
:[[BIS_fnc_moduleTriggers]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: ModuleTimeTrials|ModuleTimeTrials]]==
'''Description.'''
;e.g.
:[[BIS_fnc_moduleTimeTrial]]
:[[BIS_fnc_moduleTTCPIn]]
:[[BIS_fnc_moduleTTCPOut]]
:[[BIS_fnc_moduleTTCPTrigger]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: MP|MP]]==
'''Description.'''
;e.g.
:[[BIS_fnc_call]]
:[[BIS_fnc_execVM]]
:[[BIS_fnc_MP]]
:[[BIS_fnc_MPexec]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Multiplayer|Multiplayer]]==
'''Description.'''
;e.g.
:[[BIS_fnc_moduleBleedTickets]]
:[[BIS_fnc_moduleCountdown]]
:[[BIS_fnc_moduleRespawnTickets]]
:[[BIS_fnc_moduleSector]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Numbers|Numbers]]==
'''Description.'''
;e.g.
:[[BIS_fnc_countdown]]
:[[BIS_fnc_cutDecimals]]
:[[BIS_fnc_greatestNum]]
:[[BIS_fnc_randomNum]]
:[[BIS_fnc_roundNum]]
:[[BIS_fnc_sortNum]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Objectives|Objectives]]==
'''Description.'''
;e.g.
:[[BIS_fnc_moduleObjective]]
:[[BIS_fnc_moduleObjectiveFind]]
:[[BIS_fnc_moduleObjectiveSector]]
:[[BIS_fnc_moduleObjectiveTarget]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: ObjectModifiers|ObjectModifiers]]==
'''Description.'''
;e.g.
:[[BIS_fnc_moduleAI]]
:[[BIS_fnc_moduleDoorOpen]]
:[[BIS_fnc_moduleMode]]
:[[BIS_fnc_moduleShowHide]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Objects|Objects]]==
'''Description.'''
;e.g.
:[[BIS_fnc_boundingBoxDimensions]]
:[[BIS_fnc_boundingCircle]]
:[[BIS_fnc_getTurrets]]
:[[BIS_fnc_objectType]]
:[[BIS_fnc_spawnObjects]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: OO|OO]]==
'''Description.'''
;e.g.
:[[BIS_fnc_addClassOO]]
:[[BIS_fnc_createObjectOO]]
:[[BIS_fnc_validateParametersOO]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Params|Params]]==
'''Description.'''
;e.g.
:[[BIS_fnc_getParamValue]]
:[[BIS_fnc_initParams]]
:[[BIS_fnc_paramCountdown]]
:[[BIS_fnc_paramDaytime]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Radio|Radio]]==
'''Description.'''
;e.g.
:[[BIS_fnc_radioSetChannel]]
:[[BIS_fnc_radioSetPlaylist]]
:[[BIS_fnc_radioSetTrack]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Respawn|Respawn]]==
'''Description.'''
;e.g.
:[[BIS_fnc_addRespawnInventory]]
:[[BIS_fnc_addRespawnPosition]]
:[[BIS_fnc_getRespawnInventories]]
:[[BIS_fnc_respawnSeagull]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Scenes|Scenes]]==
'''Description.'''
;e.g.
:[[BIS_fnc_sceneCheckWeapons]]
:[[BIS_fnc_sceneGetObjects]]
:[[BIS_fnc_sceneSetBehaviour]]
:[[BIS_fnc_sceneSetObjects]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Sides|Sides]]==
'''Description.'''
;e.g.
:[[BIS_fnc_areFriendly]]
:[[BIS_fnc_enemySides]]
:[[BIS_fnc_friendlySides]]
:[[BIS_fnc_sideName]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Sites|Sites]]==
'''Description.'''
;e.g.
:[[BIS_fnc_animalSiteSpawn]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Skirmish|Skirmish]]==
'''Description.'''
;e.g.
:[[BIS_fnc_skirmishTrigger]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Spawning|Spawning]]==
'''Description.'''
;e.g.
:[[BIS_fnc_ObjectsGrabber]]
:[[BIS_fnc_ObjectsMapper]]
:[[BIS_fnc_prepareAO]]
:[[BIS_fnc_selectCrew]]
:[[BIS_fnc_spawnCrew]]
:[[BIS_fnc_spawnVehicle]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Strategic|Strategic]]==
'''Description.'''
;e.g.
:[[BIS_fnc_getUnitInsignia]]
:[[BIS_fnc_ORBATAnimate]]
:[[BIS_fnc_ORBATOpen]]
:[[BIS_fnc_ORBATTooltip]]
:[[BIS_fnc_setUnitInsignia]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: StrategicMap|StrategicMap]]==
'''Description.'''
;e.g.
:[[BIS_fnc_moduleStrategicMapImage]]
:[[BIS_fnc_moduleStrategicMapInit]]
:[[BIS_fnc_moduleStrategicMapMission]]
:[[BIS_fnc_moduleStrategicMapOpen]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Strings|Strings]]==
'''Description.'''
;e.g.
:[[BIS_fnc_alignTabs]]
:[[BIS_fnc_filterString]]
:[[BIS_fnc_inString]]
:[[BIS_fnc_phoneticalWord]]
:[[BIS_fnc_splitString]]
:[[BIS_fnc_trimString]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Supports|Supports]]==
'''Description.'''
;e.g.
:[[BIS_fnc_addSupportLink]]
:[[BIS_fnc_changeSupportRadioChannel]]
:[[BIS_fnc_limitSupport]]
:[[BIS_fnc_removeSupportLink]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Systems|Systems]]==
'''Description.'''
;e.g.
:[[BIS_fnc_RespawnManager]]
:[[BIS_fnc_respect]]
:[[BIS_fnc_supplydrop]]
:[[BIS_fnc_supplydropService]]
:[[BIS_fnc_transportService]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Tasks|Tasks]]==
'''Description.'''
;e.g.
:[[BIS_fnc_deleteTask]]
:[[BIS_fnc_setTask]]
:[[BIS_fnc_taskCreate]]
:[[BIS_fnc_taskState]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Training|Training]]==
'''Description.'''
;e.g.
:[[BIS_fnc_target]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Tutorial Functions|Tutorial Functions]]==
'''Description.'''
;e.g.
:None
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Variables|Variables]]==
'''Description.'''
;e.g.
:[[BIS_fnc_areEqual]]
:[[BIS_fnc_getServerVariable]]
:[[BIS_fnc_loadFunctions]]
:[[BIS_fnc_setServerVariable]]
:[[BIS_fnc_swapVars]]
:[[BIS_fnc_variableSpaceAdd]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Vectors|Vectors]]==
'''Description.'''
;e.g.
:[[BIS_fnc_magnitude]]
:[[BIS_fnc_rotateVector2D]]
:[[BIS_fnc_unitVector]]
:[[BIS_fnc_vectorFromXToY]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Vehicles|Vehicles]]==
'''Description.'''
;e.g.
:[[BIS_fnc_absSpeed]]
:[[BIS_fnc_missileLaunchPositionFix]]
:[[BIS_fnc_vehicleRoles]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: VR|VR]]==
'''Description.'''
;e.g.
:[[BIS_fnc_VRCourseBallistics1]]
:[[BIS_fnc_VRCourseCommandingActions1]]
:[[BIS_fnc_VRCourseCommandingBehaviour1]]
:[[BIS_fnc_VRCourseCommandingMovement1]]
:[[BIS_fnc_VRCourseCommandingVehicles1]]
</div>
 
<div class="floating-box fnc">
==[[:Category:Function Group: Waypoints|Waypoints]]==
'''Description.'''
;e.g.
:[[BIS_fnc_scriptedWaypointType]]
:[[BIS_fnc_wpFastRope]]
:[[BIS_fnc_wpLand]]
:[[BIS_fnc_wpPatrol]]
:[[BIS_fnc_wpSuppress]]
</div>
 
__NOTOC__
__NOEDITSECTION__
 
[[Category:Example needed]]
 
[[Category:Scripting_Topics]]
[[Category:Arma 2: Editing]]
[[Category:Arma 3: Editing]]

Latest revision as of 07:11, 30 December 2020