vehicle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=") |
||
Line 15: | Line 15: | ||
|p1= unitName: [[Object]] | |p1= unitName: [[Object]] | ||
| [[Object]] | |r1=[[Object]] | ||
|x1= SQS <code>? '''vehicle''' [[player]] <nowiki>!=</nowiki> [[player]] : [[hint]] "Player is in a vehicle"</code> | |x1= SQS <code>? '''vehicle''' [[player]] <nowiki>!=</nowiki> [[player]] : [[hint]] "Player is in a vehicle"</code> |
Revision as of 21:21, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unitName: Object
- Return Value:
- Object
Examples
- Example 1:
- SQS
? vehicle player != player : hint "Player is in a vehicle"
- Example 2:
- SQF
if (vehicle player != player) then {hint "Player is in a vehicle"};
Additional Information
- See also:
- objectParent
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