type: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
No edit summary
Line 13: Line 13:
|gr2= Briefing
|gr2= Briefing


| Returns a string of a [[Location]]'s class name or [[Task]]'s type.
| Returns a string of a [[Location]]'s class name or [[Task]]'s name (same as [[taskName]]).


| '''type''' location
| '''type''' location
Line 28: Line 28:
   
   
|x1= <code>_locationType = [[type]] myLocation;</code>
|x1= <code>_locationType = [[type]] myLocation;</code>
|x2= <code>_taskType = [[type]] myTask;</code>
|x2= <code>_taskName = [[type]] myTask;</code>


| [[setType]]
| [[setType]]

Revision as of 11:29, 25 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
LocationsBriefing

Syntax

Syntax:
Syntax needed
Parameters:
location: Location
Return Value:
Return value needed

Alternative Syntax

Syntax:
type task
Parameters:
task: Task
Return Value:
String - the type of the task

Examples

Example 1:
_locationType = type myLocation;
Example 2:
_taskName = type myTask;

Additional Information

See also:
See also needed

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