forked from FatLurch/Turret_Enhanced
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_Notes.txt
51 lines (28 loc) · 1.13 KB
/
_Notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
ADD to B_UAV_01_F, B_UAV_06_F or all helicopters
This line works for commanding the turret when the player is not controlling it :
uav turretunit [0] lookat player;
uav lockCameraTo [getMarkerPos "target", [0]]; //BETTER! Thanks GuyFauwx
Concept:
1. Kick player out of turret (lockturret?)
2. Run the command above
3. Pop user back into turret
player assignAsTurret [uav, [0]];
use _vehicle turretUnit _thisTurret to remove AI from turret
unassignvehicle uav turretunit[0];
================================
Important bits
getConnectedUAV player; //REturns the UAV a player is connected to :)
_realPosition = "037056" call BIS_fnc_gridToPos select 0; //method for typed coordinates
_realPosition = _realPosition + [0]; //method for typed coordinates
hint format["Pos: %1", _realPosition];
uav lockCameraTo [_realPosition, [0]];
openMap true;
onMapSingleClick "uav lockCameraTo [_pos, [0]];openMap false;"; //method for click on map
Next steps:
Build the GUI
http://killzonekid.com/?s=gui
============================================
Code:
2019-11-11
Adding Az & El Markers:
Research variables _Az and _El in North_Ind.sqf