yyccccc
-
Content Count
21 -
Joined
-
Last visited
-
Medals
Posts posted by yyccccc
-
-
Hello Mandoble, what is the code for camera follows a patriot missile from an ai launcher ?
-
Hello Mandoble, I mean how to set an empty civilian car that can auto shooting east side? no driver in it and not tv type
-
Hello Mandoble, could you make a sample mission about setting mando_gun_lite on an empty car please?
-
I found in your demo mission the mando guns do not work ,please check if there is some error.
-
I want to add "back" command to f35b command menu ,what should I do?
-
I would like to make m16a4 shooting guided bullet,just like a stinger ,what is the guided script?
-
If you want AI to land an Aircraft at an airport use LandAt instead.plane landAt 1
Utes:
0 = There is only one airport
Chernarus:
0 = Airport NorthWest close to Grishno
1 = Airport NorthEast close to Kranostav
2 = Airport SouthWest close to Balota
Planes approach all airports from SouthEast
What is the script ,if I press F2 ,there is a command "landat 0" in command menu?
-
I need a command in command menu to order ai f35b landing on airbase ,please.
-
Exemple (this only works if units are already inside the trigger, just replace east by the side that you want):
Activation: ((((east countSide _thislist)/100)*30) <= 30)
I try this code does not work, local variable in global space?
-
what is the command, when all secters are red, player lose ,when all sectors are bule,player win the game?
-
if((count list Enemies)<value) then{end the game...}I paste your code into on act. but it does not work.
-
If I want a 2x in scale of M1A2, is there any script to make it possible?
-
Addon works nice :)Thanks for the script armatech :>
First test to make it driveable :)
How did you make it driveable?
how to set a runway on LHD for airplanes to landing and take off ?
-
Something to the effect of:player addEventHandler ["hit",{_this setdammage 0}]
I try to paste it to init but it does not work, what is wrong?
-
A better method is to use an addeventhandler in combination with setvehicleammo. Put this in the unit's init field:this addeventhandler ["fired", {(_this select 0) setvehicleammo 1}]I try it does not work. what is wrong?
-
Place a trigger, set a radio channel and in the command line put player setdamage 0That should completely heal you once unless you set "repeatedly" instead of once.
If my hp=20, how can I change my hp=99999 ?
-
How to set up a hotkey once I press it , camera will follow next unit or previous unit ?
-
May I plus more hitpoints by a trigger by radio ?
-
when I play as a AA specialist there is only one ammo
how can I set the amount of ammo please?
-
Code Sample
_projectile = nearestobject [_this select 0,_this select 4];
setacctime 0.5;
_camera = "camera" camCreate (getpos _projectile);
_camera cameraeffect ["internal", "back"];
while{alive _projectile && alive _camera}do
{
_camera camSetTarget _projectile;
_camera camSetRelPos [0,-13,1.2];
_camera camCommit 0;
sleep 0.001;
};
if(alive _camera)then{sleep 1};
_camera cameraeffect ["terminate", "back"];
camdestroy _camera;
setacctime 1;
Edit: Also remember this in the unit's init line:
Code Sample
this addeventhandler ["fired",{_this execVM "cam.sqf"}]
question 1 : sometimes the camera appearing at the sea, what is the matter?
question 2 : when I play as a M1A1 gunner how can I stop friendlyAi from using the camera follow script?
Mando Missile ArmA for ArmA 2
in ARMA 2 & OA - ADDONS & MODS: COMPLETE
Posted
Hi Mandoble, when I use this code to ai launcher, camera does not follow the missile ,what is wrong, please help me.
this addeventhandler ["fired",{_this execvm"cam.sqf"}]
_projectile = nearestobject [_this select 0,_this select 4];
setacctime 0.5;
_camera = "camera" camCreate (getpos _projectile);
_camera cameraeffect ["internal", "back"];
while{alive _projectile && alive _camera}do
{
_camera camSetTarget _projectile;
_camera camSetRelPos [0,-1.55,0.08];
_camera camCommit 0;
sleep 0.001;
};
if(alive _camera)then{sleep 1.9};
_camera cameraeffect ["terminate", "back"];
camdestroy _camera;
setacctime 1;
exit