Jump to content

Spunned

Member
  • Content Count

    34
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About Spunned

  • Rank
    Private First Class
  1. I'm sorry that does not work. I don't have any TP option when I spawn.
  2. 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')"];
  3. Spunned

    Spawning smokeshells

    It worked. 10 interwebs for you good sir
  4. 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!
  5. 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";
  6. 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
  7. I dont feel right doing this... but i really need help.... BUMP
  8. 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 :)
  9. 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 :)
  10. 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 :)
  11. 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;
  12. huh.. well now i feel stupid. i didnt think it was that simple. thanks for the help :)
  13. Spunned

    Placing Rocks on the Map

    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
  14. 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 :)
  15. "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/
×