remoteControl: Difference between revisions
Jump to navigation
Jump to search
m ("switchcamera" (example) is now a link to that page) |
No edit summary |
||
Line 41: | Line 41: | ||
to add a driver and use<br/> | to add a driver and use<br/> | ||
"player remoteControl driver someVehicle". | "player remoteControl driver someVehicle". | ||
</dd> | |||
<dd class="notedate">Posted on Jan 25, 2010 - 14:35 (CEST)</dd> | |||
<dt class="note">'''[[User:Lou Montana|Lou Montana]]'''</dt> | |||
<dd class="note">'''Arma 1.05''' : | |||
*You can remoteControl multiple units at the same time. | |||
*It is not needed to [[switchCamera]] to the unit to be able to control it - it is needed to be able to fire with. | |||
*The switchCamera is fixed : the player can't change internal/external/optics view. | |||
*Do not think about it like a [[selectPlayer]] : it is used to give the control to '''the vehicle role the unit is in'''. | |||
*SwitchCamera to the '''vehicle''' the unit is in ; the camera will go depending the role you are remoteControlling. | |||
*The AI driver won't follow your vehicle move orders. | |||
*If the player dies, the death screen will appear, not automatically turning back to the player. | |||
*If you want to stop the remote control, use objNull as remote controller. | |||
*Example : | |||
<pre> | |||
player remoteControl driver jeep1; // will remoteControl it, you still will have full control of the player | |||
jeep1 switchCamera "internal"; // fix the camera to the ''vehicle'' and not to (driver jeep1) ! | |||
waitUntil { !(alive jeep1) || !(alive player) }; | |||
objNull remoteControl driver jeep1; // removes the remoteControlling | |||
player switchCamera "internal"; // returns to the player | |||
</pre> | |||
</dd> | </dd> | ||
<!-- Note Section END --> | <!-- Note Section END --> |
Revision as of 15:01, 25 January 2010
Description
- Description:
- Switch on remote control of the unit.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
player remoteControl driver UAV; driver UAV switchCamera "Internal"; //switchCamera required
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
Notes
- TeRp
-
You must use switchCamera in order to remote control the unit and.
You can only remoteControl characters, e.g. if yo want to remote control a car, you have to add a driver and use
"player remoteControl driver someVehicle". - Posted on Jan 25, 2010 - 14:35 (CEST)
- Lou Montana
- Arma 1.05 :
- You can remoteControl multiple units at the same time.
- It is not needed to switchCamera to the unit to be able to control it - it is needed to be able to fire with.
- The switchCamera is fixed : the player can't change internal/external/optics view.
- Do not think about it like a selectPlayer : it is used to give the control to the vehicle role the unit is in.
- SwitchCamera to the vehicle the unit is in ; the camera will go depending the role you are remoteControlling.
- The AI driver won't follow your vehicle move orders.
- If the player dies, the death screen will appear, not automatically turning back to the player.
- If you want to stop the remote control, use objNull as remote controller.
- Example :
player remoteControl driver jeep1; // will remoteControl it, you still will have full control of the player jeep1 switchCamera "internal"; // fix the camera to the ''vehicle'' and not to (driver jeep1) ! waitUntil { !(alive jeep1) || !(alive player) }; objNull remoteControl driver jeep1; // removes the remoteControlling player switchCamera "internal"; // returns to the player