Spunned
Member-
Content Count
34 -
Joined
-
Last visited
-
Medals
Community Reputation
10 GoodAbout Spunned
-
Rank
Private First Class
-
waitUntil player is alive
Spunned replied to Spunned's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm sorry that does not work. I don't have any TP option when I spawn. -
I can't get the following code to work. All I want is for the addAction to be added to the unit everytime you respawn. I've searched the forums, but I can't find anything useful. Thanks for the help! waituntil {alive player}; this addAction["<t color='#ff1111'>Teleportation Hub</t>", "player setPos (getMarkerPos 'respawn_west_hub')"];
-
It worked. 10 interwebs for you good sir
-
Hello I'm having issues spawning a smoke grenade at a busted car. I've gone through all the other posts i could find but i'm coming up empty. Here's my code: while {true} do { _smoke = "1Rnd_Smoke_M203" createVehicle (getPos this); sleep 10; }; Any help would be appreciated. Thanks!
-
Only adds 1 magazine to inventory, but adds all in editor
Spunned posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi In the editor, i add all my magazines to my player / npc, but if i launch the mission on a server, they all carry only one magazine. this addUniform "U_IG_Guerilla2_3"; this addHeadgear "H_Beret_red"; this unassignItem "NVGoggles_OPFOR"; this removeItem "NVGoggles_OPFOR"; removeAllWeapons this; this addMagazines ["30Rnd_mas_545x39_mag", 5]; this addWeapon "arifle_mas_aks74"; at first i simply pasted the this addMagazine "30Rnd_mas_545x39_mag"; 5 times, but that didn't work either on the server, but in the editor. Can anyone see what i'm doing wrong? thanks for the help ---------- Post added at 10:47 ---------- Previous post was at 09:50 ---------- Just figured it out. Use a foreach statement to remove all the magazines the unit spawns with and THEN add the new ones. here's the updated code: sleep 5; this addUniform "U_O_OfficerUniform_ocamo"; this addHeadgear "H_Beret_red"; this unassignItem "NVGoggles_OPFOR"; this removeItem "NVGoggles_OPFOR"; removeAllWeapons this; {player removeMagazine _x} forEach magazines player; this addMagazines ["30Rnd_mas_545x39_mag", 8]; this addWeapon "arifle_mas_aks74"; -
Ingame dialog with 4 buttons and a picture
Spunned posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi I've been trying to figure out exactly how to make an ingame dialog window appear with a picture and 4 buttons below the picture. i've been trying a few tutorials but i just don't get it. Here's what i want: I walk up to a vehicle (or any object for that matter) and i scroll and click on an action in the menu. It then opens a dialog window on the screen with a picture and 4 buttons below. when you click a button, it executed an external sqf script. If anyone could help me, i'd appreciate it. Thanks for reading -
Sector control with respawn trigger not working
Spunned replied to Spunned's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I dont feel right doing this... but i really need help.... BUMP -
Sector control with respawn trigger not working
Spunned posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Instead of writing a HUGE wall of text, here's a video where i explain my issue with the modules: http://www.youtube.com/watch?v=3FUl8Q2AwM4 Thanks for the help :) -
positioning spawned object in code
Spunned replied to Spunned's topic in ARMA 3 - MISSION EDITING & SCRIPTING
awesome, it works. just for everyone else reading this thread, here's the code: wokka= "Land_i_House_Big_01_V1_F" createVehicle position this; wokka setDir direction this; deleteVehicle this; thank you for your help :) -
positioning spawned object in code
Spunned replied to Spunned's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thanks for your help :) here's what i found out while trying out your code: picture of what im talking about http://steamcommunity.com/sharedfiles/filedetails/?id=169459765 the house on the right is my original code. the spawned object is placed with an angle perpendicular to the terrain (bad for certain stuff like houses) the code for that is here: wokka= "Land_Slum_House01_F" createVehicle position this; deleteVehicle this; however the house on the left is this code: wokka= "Land_i_House_Big_01_V1_F" createVehicle position this; deleteVehicle this; wokka setDir 180; turns out all you need is to use the setDir and simply set one value. the rest of the values are automatically set to 0 and thus the z index will be 0. lastly, any way of binding the setDir degrees to whatever degree is used for the initial object? that way i dont have to edit the code every time i wanna turn something? ps: i use the "helipad invisible" in empty faction for the initial object :) -
hiya people :) you've always been helpful, so im sure ya'll can figure this one out. so, i use the code below to spawn objects ingame that are not directly accessable through the editor, however, with this piece of code, im unable to do anything about the rotation of the object around the y axis (normal 360 rotation) and the rotation on the z axis (if the object is placed like a guard tower that doesn't conform to the terrain, if like a normal object that rotates according to the slope it's placed on). any way of incorporating into the code these rotational degrees? wokka= "Land_Slum_House01_F" createVehicle position this; deleteVehicle this; TL;DR wokka= "Land_i_House_Big_01_V1_F" createVehicle position this; wokka setDir direction this; deleteVehicle this;
-
Teleport everyone on blufor trigger event no matter where they are on the map
Spunned replied to Spunned's topic in ARMA 3 - MISSION EDITING & SCRIPTING
huh.. well now i feel stupid. i didnt think it was that simple. thanks for the help :) -
Placing Rocks on the Map
Spunned replied to Ice_Rhino's topic in ARMA 3 - MISSION EDITING & SCRIPTING
use this list: http://www.twitlonger.com/show/laeqoh and then use this code in the initfield of a "helipad invisible": wokka= "Land_Cargo_Patrol_V2_F" createVehicle position this; deleteVehicle this; i havent seen if the rock object is in that list, but it seems like everything else is, so go ahead and give it a go :) i hope this helps -
Hiya Here's what i need: I have a mission where you kill an officer. upon the death of the officer, i have a trigger that executes a script that writes some stuff on the screen: titleText ["Enemy Officer has been eliminated. Nice shot!", "BLACK OUT"]; sleep 5; skipTime 12; titleText ["12 hours later...", "BLACK IN", 10]; when the last titletext fades in, i want everyone on blufor to have teleported to a marker on the map, however, i can only find examples where people need to go into a trigger area to teleport. anyone know how to do this? Thanks for your help :)
-
Struggling With Eliteness on W7
Spunned replied to Champy_UK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
"0xc000007b error comes mainly from mixing up 32bit environment with 64bit one, that is you have an 32bit application that tries to load a 64bit dll. To see exactly who cause this you must examine your application dependencies carefully." source: http://msoos.wordpress.com/2010/09/11/0xc000007b-error-solution/