

killzone_kid
Member-
Content Count
3974 -
Joined
-
Last visited
-
Medals
Everything posted by killzone_kid
-
sideLeader is not a command, so if it is undefined your code that is followed will be ignored. Also will possibly throw undefined error. You do have errors enabled, right? if you want to pass something by reference, put it in array and then modify array with set command
-
since varA is always objNull, it is quite logical your will also always be objNull
-
playsound3D not working when called on server, MP,Dedi
killzone_kid replied to Mr H.'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
The better way would have been to clip it at 5, but I guess this is how it was implemented, it just rejects it all together -
playsound3D not working when called on server, MP,Dedi
killzone_kid replied to Mr H.'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
Added the note for you https://community.bistudio.com/wiki/playSound3D -
antivirus?
-
[SOLVED] Move object up/down repeatedly
killzone_kid replied to anfo's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You should use local object and setVelocityTransformation instead -
[SOLVED] addAction for players near hidden object
killzone_kid replied to JR Nova's topic in ARMA 3 - MISSION EDITING & SCRIPTING
add_tower_action = { _this getVariable "params" params ["_tower", "_price"]; if (player getVariable ['lmo_cash', 0] < _price) exitWith {}; _this setVariable ["tower_action", player addAction [format ["Purchase Tower <t color='#00ff00'>$%1</t>", _price], "scripts\towers.sqf", [_tower, _this, _price], 5, true, true, "", ""]]; }; remove_tower_action = { player removeAction (_this getVariable ["tower_action", -1]); _this setVariable ["tower_action", -1]; }; lmo_towers = { if (!hasInterface) exitWith {}; params ["_tower", "_price"]; _trig = createTrigger ["EmptyDetector", getPos _tower, false]; _trig setVariable ["params", _this]; _trig setVariable ["tower_action", -1]; _trig setTriggerArea [5, 5, 0, false]; _trig triggerAttachVehicle [player]; _trig setTriggerActivation ["VEHICLE", "PRESENT", true]; _trig setTriggerStatements ["this", "thisTrigger call add_tower_action", "thisTrigger call remove_tower_action"]; }; player setVariable ["lmo_cash", 2000]; towerPrice = 1000; [tower, towerPrice] call lmo_towers; -
'Dammaged' EH stops firing.
killzone_kid replied to target_practice's topic in ARMA 3 - MISSION EDITING & SCRIPTING
No code no idea -
[SOLVED] addAction for players near hidden object
killzone_kid replied to JR Nova's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Add trigger by script, use local flag, link with player with triggerAttachVehicle -
changing zoom/fov of player (cam)
killzone_kid replied to syrasia's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Not possibru -
Grinding Script HELP
killzone_kid replied to razzored's topic in ARMA 3 - MISSION EDITING & SCRIPTING
In a nutshell, addAction to the object with condition checking if player has an item, if yes, show action. If player activates action play animation. -
Controlling the volume of specific sounds
killzone_kid replied to target_practice's topic in ARMA 3 - MISSION EDITING & SCRIPTING
It is possible but not with scripts. You can make a mod and change volumes on specific sounds in config -
It should display "GUNNER" perhaps you were reading it too early. AFAIK you can not control where player aims with script unless you can hack mouse input via extension.
-
You can use cameraView instead of getObjectFOV to detect when player is ADS
-
[Solved] turn the Submarine (vanilla)
killzone_kid replied to Play3r's topic in ARMA 3 - MISSION EDITING & SCRIPTING
When I started learning scripting I spent a lot of time on wiki which was not as good as it is now btw, and when it was lacking information I did my own experiments testing stuff and then adding it to wiki. What put me off spending more time answering your questions is what it seems to me like lack of effort from your side. Even a simple google search brings a lot of results from these forums about params. One of the top results on google: Params page has many examples as well, if you find hard to understand the writing or notes which are put in frames to stress their importance, the examples show you the correct way of using params command, which surely should be enough to figure out what it does if one takes time to contemplate the code. I guess you are lucky there are people on these forums that have a lot of patience and are willing to tell you the same thing over and over. I admit, I lack patience for these sort of things, so shoot me. -
See player's drawIcon3D through walls
killzone_kid replied to Sneax x's topic in ARMA 3 - MISSION EDITING & SCRIPTING
_x selectionPosition "player" would be [0,0,0], the same as any non existent selection. So basically the whole (visiblePosition _x select 2) +((_x ModelToWorld (_x selectionPosition "player")) select 2)+ 1.83 is just (visiblePosition _x select 2) + 1.83- 15 replies
-
- 2
-
-
- drawicon3d
- arma3
-
(and 3 more)
Tagged with:
-
[Solved] turn the Submarine (vanilla)
killzone_kid replied to Play3r's topic in ARMA 3 - MISSION EDITING & SCRIPTING
LOL I was talking about your futile effort -
[Solved] turn the Submarine (vanilla)
killzone_kid replied to Play3r's topic in ARMA 3 - MISSION EDITING & SCRIPTING
So in your opinion if I just repeat one more time what I have already written on BIKI somehow it is magically going to make someone to understand? Well it won’t, as this thread clearly showed. -
[Solved] turn the Submarine (vanilla)
killzone_kid replied to Play3r's topic in ARMA 3 - MISSION EDITING & SCRIPTING
How more obvious could this be? https://prnt.sc/pujsvq -
[Solved] turn the Submarine (vanilla)
killzone_kid replied to Play3r's topic in ARMA 3 - MISSION EDITING & SCRIPTING
If you don’t understand what command does, why do you use it? Use what you can understand, like _this select n instead -
Set object damage with addaction and timer ?
killzone_kid replied to ALPHIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
addAction takes either code or string as second param on right hand side, you pass neither. Read the documentation for it. -
[SOLVED] lineIntersectsSurfaces not getting fence
killzone_kid replied to syrasia's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Must be doing something wrong, lineIntersectsSurfaces detects wire fences just fine, Example 3 shows how. -
Set object damage with addaction and timer ?
killzone_kid replied to ALPHIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
switchLight will probably work in this case -
Piggyback shooting problem
killzone_kid replied to sneezemonkey's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
You are overriding the default key down handling by returning non false (normally you return true). This is well documented on EH pages -
Triggers and tasks for a mission
killzone_kid replied to Yeetus Maximus the Third's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Could you please point to pages that in your opinion should be improved?