BIS fnc target: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| ''N/A'' |DESCRIPTION=" to "| ''N/A''<br>{{placeholder}} |DESCRIPTION=")
(Add description)
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________
| arma3 |Game name=


|1.00|Game version=
|game1= arma3
____________________________________________________________________________________________


| ''N/A''<br>{{placeholder}} |DESCRIPTION=
|version1= 1.00
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_target]]; --> |SYNTAX=
|descr= Manages a target such as <tt>TargetBootcampHuman_f</tt> (statistics, animation, etc)


|p1= |PARAMETER1=


| |RETURNVALUE=
|s1= [action, parameters] call [[BIS_fnc_target]] |SYNTAX=
____________________________________________________________________________________________


|x1= <code></code> |=
|p1= action: [[String]] - one of:
____________________________________________________________________________________________
<div style="columns: 3">
* initialize
* terminate (does nothing(?))
* animate
* getAnimationPhase
* getAnimationPhaseString
* getAnimatedSelection
* hit
* hitPart
* getShooterDataIndex
* getShooterData
* setShooterData
* getShotsData
* getShotsDataFromTargets
* getShotsDataWithFilter
* setShotsData
* getShootersData
* setShootersData
* resetShootersData (clears all data on object)
* getShooterTemplate
* getShotTemplate
* getShooterByUid
* uiOpen
* uiOnLoad (internal)
* uiFillTable (internal)
* uiFillTableRow (internal)
</div>


| |SEEALSO=
|x1= |noexample= <code>["getShooterDataIndex", []] [[call]] [[BIS_fnc_target]];</code>


|seealso= [[doTarget]]
}}
}}



Revision as of 21:48, 6 January 2020

Hover & click on the images for description

Description

Description:
Manages a target such as TargetBootcampHuman_f (statistics, animation, etc)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[action, parameters] call BIS_fnc_target
Parameters:
action: String - one of:
  • initialize
  • terminate (does nothing(?))
  • animate
  • getAnimationPhase
  • getAnimationPhaseString
  • getAnimatedSelection
  • hit
  • hitPart
  • getShooterDataIndex
  • getShooterData
  • setShooterData
  • getShotsData
  • getShotsDataFromTargets
  • getShotsDataWithFilter
  • setShotsData
  • getShootersData
  • setShootersData
  • resetShootersData (clears all data on object)
  • getShooterTemplate
  • getShotTemplate
  • getShooterByUid
  • uiOpen
  • uiOnLoad (internal)
  • uiFillTable (internal)
  • uiFillTableRow (internal)
Return Value:
Return value needed

Examples

Examples:
Example needed

Additional Information

See also:
doTarget

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section