KilEKarl
-
Content Count
10 -
Joined
-
Last visited
-
Medals
Posts posted by KilEKarl
-
-
I've noticed cursorTarget only works for singleplayer, is there something like but will work for Multiplayer?
-
Either save the current animation BEFORE using playMove and use it after your current one (there was a command which returned the current animation of the unit but I can't seem to remember now) or useswitchMove "";
which will switch back to default movement without a transition.
Player Still wont stand up after animation of fake death on using this
switchMove "";
: \
-
Maybe the stand up move?May use this one: AdthPercMstpSnonWnonDnon_3 dies, falling forward
and then: AinjPpneMstpSnonWrflDnon_rolltoback
(I would use here sleep 3.5; to make it look like one animation)
at least: AidlPpneMstpSnonWnonDnon_SleepA_standUp - Standing up from lying on back
Neither works, Even putting sleep 3.5; in the middle wont work.
It's like it refuses to allow Stand up action and or anything else to work ?
-
Just change the 0 to about 20 or more then he will spawn in a 20 meter radius around your position.Thanks I thought I tried that, but didn't see any changes, works now :)
-
So this script allows the player to do an action, which this action makes the player fake die.
player playMoveNow "AdthPercMrunSlowWlnrDb_1"
How can I make it, so that he will return back to original stance?
I can't find anything : \
Here's the list of Actions page..
http://community.bistudio.com/wiki/ArmA:_Moves
-Please Help!
-
From glancing over it atleast 85% of that code is just unnecessary and/or unusable without contexts. It's also for a DayZ-like game mode (or even for DayZ itself). If you want to use it for DayZ head over to their forums.Otherwise, use something like this:
_cnt = createCenter EAST; _grp = createGroup EAST; _unit = _grp createUnit ["RU_Soldier",getmarkerpos "somewhere",[],0,"NONE"];
This will create an OPFOR unit at a marker called "somewhere" (change this to an appropriate marker name, or if you want him to spawn at a position, use getpos). If the player is a BLUFOR unit he'll be attacked once the spawned unit has eyes on him.
How would I spawn him few metres away from me ?
I changed ..
_unit = _grp createUnit ["RU_Soldier", getpos player,[],0,"NONE"];
But he spawn's right next to me..
-
From glancing over it atleast 85% of that code is just unnecessary and/or unusable without contexts. It's also for a DayZ-like game mode (or even for DayZ itself). If you want to use it for DayZ head over to their forums.Otherwise, use something like this:
_cnt = createCenter EAST; _grp = createGroup EAST; _unit = _grp createUnit ["RU_Soldier",getmarkerpos "somewhere",[],0,"NONE"];
This will create an OPFOR unit at a marker called "somewhere" (change this to an appropriate marker name, or if you want him to spawn at a position, use getpos). If the player is a BLUFOR unit he'll be attacked once the spawned unit has eyes on him.
I'm not using it for DayZ,
that "} forEach allMissionObjects "zZombie_Base";" - Only works for Dynamic Zombie Sandbox mission.
I'm using it for my own missions that me and a few mates play, like team deathmatch or just those small type missions, but thanks I will try it out (:
-
There's a script that I found, that spawn's a friendly AI, But I want the AI to be an enemy who will shoot me on sight, Can someone please have a look and change it so the AI will attack me? I've looked around on the web for some help but can't get it to work..
TitleText [format["AI Player spawned"], "PLAIN DOWN"];
private["_spawnAIS", "_plrGroup"];
CIVILIAN setFriend [WEST,0];
WEST setFriend [CIVILIAN,0];
player addRating 50000;
_plrGroup = (group player);
_plrGroup allowFleeing 0;
_plrGroup setFormation "LINE";
"SurvivorW2_DZ" createUnit [[(getpos player select 0), (getpos player select 1), 50], _plrGroup, "_spawnAIS = this;"];
_spawnAIS enableAI "TARGET";
_spawnAIS enableAI "AUTOTARGET";
_spawnAIS enableAI "MOVE";
_spawnAIS enableAI "ANIM";
_spawnAIS enableAI "FSM";
_spawnAIS allowDammage true;
_spawnAIS setCombatMode "RED";
_spawnAIS setBehaviour "COMBAT";
_spawnAIS addweapon "G36_C_SD_camo";
_spawnAIS addMagazine "30Rnd_556x45_StanagSD";
_spawnAIS addMagazine "30Rnd_556x45_StanagSD";
_spawnAIS addMagazine "30Rnd_556x45_StanagSD";
_spawnAIS addMagazine "30Rnd_556x45_StanagSD";
_spawnAIS addMagazine "30Rnd_556x45_StanagSD";
_spawnAIS addMagazine "30Rnd_556x45_StanagSD";
_spawnAIS addMagazine "30Rnd_556x45_StanagSD";
_spawnAIS selectWeapon "G36_C_SD_camo";
_spawnAIS setSkill ["aimingAccuracy",1];
_spawnAIS setSkill ["aimingShake",1];
_spawnAIS setSkill ["aimingSpeed",1];
_spawnAIS setSkill ["endurance",1];
_spawnAIS setSkill ["spotDistance",1];
_spawnAIS setSkill ["spotTime",1];
_spawnAIS setSkill ["courage",1];
_spawnAIS setSkill ["reloadSpeed",1];
_spawnAIS setSkill ["commanding",1];
_spawnAIS setSkill ["general",1];
[_spawnAIS] join _plrGroup;
_spawnAIS addEventHandler ["Fired", {_this call player_fired;}];
while {alive _spawnAIS} do
{
{
_x addRating -200000;
} forEach allMissionObjects "zZombie_Base";
sleep 0.1;
};
-
##################################################################################################
##############################SOLVED###############################################################
##############################SOLVED###############################################################
##################################################################################################
##################################################################################################
Fixed it somehow by deleting "Regedit\HKEY_LOCAL_MACHINE\SOFTWARE\Bohemia Interactive Studio\Arma 2 OA\*RED*KEY (Value)
-Delete this post, if you think it should be
Every time I launched Arma 2 OA via steam, or manually or launch Arma 2 manually (With administrator or not) it starts the game, goes to the Bohemia Interactive and than closes and says "Bad Serial in Setup"
I have tried
#Re-downloading Arma 2 OA (3 times)
#Restarting Laptop (4 times)
#Running steam as administrator
#Running Arma 2 OA.exe as administrator
#VERIFY INTEGRITY OF GAME CACHE..." -> Which eventually said "One unresolved issue, need resolving"
#Running *_runA2CO_beta* as administrator and not administrator.
#Running *_runA2CO* as administrator and not administrator.
#Googled what to do, and followed the steps that were said, still no result
#Deleted all files in "Regedit\HKEY_LOCAL_MACHINE\SOFTWARE\Bohemia Interactive
#Could not rename nor delete any all files in "Regedit\HKEY_LOCAL_MACHINE\SOFTWARE\Bohemia Interactive Studio\Arma 2 OA
(Error while deleting key)
#Removing every Arma 2 OA files and folders, Buying a new Arma 2 OA on steam, same problem.
#"Regedit\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node" Only has "BIStudio/Google/Microsoft" as its folders
BIStudio Folder only has *Name = AB symbol thing*(Defualt) Type = REG_SZ, Data = (value not set)
#Beta Patch says "Wrong CD Key"
Please help :(
(Arma 2 Free works fine)
cursorTarget for multiplayer?
in ARMA 2 & OA : MISSIONS - Editing & Scripting
Posted
cursorTarget
But it only works with Ai on a local lan server I made