killzone_kid
Member-
Content Count
3971 -
Joined
-
Last visited
-
Medals
Everything posted by killzone_kid
-
Hint to just one player/vehicle.
killzone_kid replied to nerkaid's topic in ARMA 3 - MISSION EDITING & SCRIPTING
[nil,playerObj,"loc",rHINT,"message"] call RE; -
setUnconscious and lifeState not working or?
killzone_kid posted a topic in ARMA 2 & OA - BETA PATCH TESTING
Basically just tested setUnconsious true and all it does is sets lifeState variable to UNCONSCIOUS. The player is able to move as before and nothing happens. Could someone shed a light on this? I would have expected player collapse dead and not be able to move but not being dead? Needed function indeed. -
publicVariableServer oddities
killzone_kid replied to PlacidBox's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hint is local should do nothing on dedicated server and would probably work on client if client is server -
How to turn off alarm after a certain amount of time.
killzone_kid replied to Ghostwolf's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'd imagine you will have to spawn a parallel script that would create sound then delete it null = [] spawn { private ["_alarm","_time"]; sleep 5; _alarm = createSoundSource [your alarm params]; _time = time + 300; waitUntil {enemygivesup || time > _time}; deleteVehicle _alarm; }; -
createAgent works for animals but not for insects
killzone_kid replied to johnnyboy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
try camCreate maybe http://community.bistudio.com/wiki/camCreate -
Global Addaction not registering on all clients
killzone_kid replied to combat-agent's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You are attaching action to player and it will be only available to said player. Use respawn event instead. It will give you the corpse to which you can attach addaction so it will be global. -
AI attack only players
killzone_kid replied to GuyMz's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Ignore my previous suggestion, I re-read your post.. Try adding "this setCaptive true;" in init for the nonplayable friendly units -
How to make crates respawn
killzone_kid replied to McKeewa's topic in ARMA 3 - MISSION EDITING & SCRIPTING
maybe you need addItemCargoGlobal -
How to script AI team mates equipping NVGs and IR Lasers
killzone_kid replied to sproyd's topic in ARMA 3 - MISSION EDITING & SCRIPTING
_ai action ["NVGoggles", _ai]; _ai action ["NVGogglesOff", _ai]; -
AI attack only players
killzone_kid replied to GuyMz's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Make enemy and your team friends with setfriend http://community.bistudio.com/wiki/setFriend then add negative rating to those you want to be attacked with http://community.bistudio.com/wiki/addRating -
ARMA 2: OA beta build 93666 (1.60 MP compatible build, post 1.60 release)
killzone_kid replied to Dwarden's topic in ARMA 2 & OA - BETA PATCH TESTING
It works with ArmA 2 as it is. If you make any changes in Arma 3 I will change my blog post accordingly. -
ARMA 2: OA beta build 93666 (1.60 MP compatible build, post 1.60 release)
killzone_kid replied to Dwarden's topic in ARMA 2 & OA - BETA PATCH TESTING
I've summarised this in my blog http://killzonekid.com/arma-scripting-tutorials-how-to-switch-on-lazy-evaluation/ -
Custom ammo crate other than "supply crate" ?
killzone_kid replied to SteelSampson's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Global command is not different to normal. create a box and run clear cargo global commands one after another on it. -
netID - Is it the same as the ID passed by the 'OnPlayerConnected' event?
killzone_kid replied to Radioman's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Probably not. objectfromnetid expects string as per description. -
Removing Map Rocks via IDs
killzone_kid replied to spectrersg's topic in ARMA 3 - MISSION EDITING & SCRIPTING
What about assigning it to the actual vehicle too before player sits on it? ---------- Post added at 12:32 ---------- Previous post was at 11:41 ---------- It is strange because you cannot even remove trees by setDamage 1 to them like you did in arma 2. I say it is alpha issue. -
removing a value from a nested array issues
killzone_kid replied to juddo's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Editor is your friend. This ^^^ doesnt work. -
Removing Map Rocks via IDs
killzone_kid replied to spectrersg's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thats because player becomes vehicle when in vehicle -
Custom ammo crate other than "supply crate" ?
killzone_kid replied to SteelSampson's topic in ARMA 3 - MISSION EDITING & SCRIPTING
you might want to look at clearweaponcargoglobal,clearmagazinecargoglobal,clearbackpackcargoglobal as well as clearitemcargoglobal commands. check the full commands list in my sig. -
Removing Map Rocks via IDs
killzone_kid replied to spectrersg's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Try to hide it instead -
Personal Tutorial: How to view animations, and play them.
killzone_kid replied to tambovskya's topic in ARMA 3 - MISSION EDITING & SCRIPTING
There is even quicker way 1. Doubleclick on map in Editor 2. Insert in init field: null = [] spawn {sleep 1; disableSerialization; call BIS_fnc_animViewer;}; 3. Preview -
MoveInCargo, possibly locality?
killzone_kid replied to Coding_Camel's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
You can put _target in cargo from anywhere by using action _target action ["moveToCargo", _vcl, 0]; -
-
Check Helicopter height and warm if above certain height.
killzone_kid replied to Beerkan's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You are running this on client and 'player' object is always local to client machine so a bit confused about the use of if (!(local player)) exitWith {}; -
Retrieving variables from the server
killzone_kid replied to Kettlewell's topic in ARMA 3 - MISSION EDITING & SCRIPTING
could you show what you are doing to get variables from the server? -
'IF' statement is a bloody nightmare! why doesn't it WORK!?
killzone_kid replied to Millenium7's topic in ARMA 3 - MISSION EDITING & SCRIPTING
did you define debug = 1; anywhere? try hint str debug; what does it say?