Jump to content

somenoob240

Member
  • Content Count

    4
  • Joined

  • Last visited

  • Medals

Posts posted by somenoob240


  1. 1 hour ago, Harzach said:

    I don't have any specific help for you at the moment, but here are some handy bookmarks for you:

    https://community.bistudio.com/wiki/SQF_Syntax

    https://community.bistudio.com/wiki/Category:Scripting_Commands

    https://community.bistudio.com/wiki/Category:Arma_3:_Functions

    https://community.bistudio.com/wiki/Arma_3:_Event_Handlers

    https://community.bistudio.com/wiki/Arma_3:_Mission_Event_Handlers

     

    Also, check the pinned topics in this subforum, most notably the Scripting Introduction and Scripting Guides posts.

     

    Good luck, have fun!

    Checked them out, found a bunch of useful stuff. Only issue I've got now is I have no idea how assigning a value (in this case classnames) to a variable that isn't simply just text.

     

    For example I've got:

    _charger10 = 
    	{
    	lbAdd [1500, "Dodge Charger '10"]; 
    	lbSetData [1500, _index, "Fox_Charger10"];
    	};

    Not sure if that's the right formatting to use to execute multiple lines of code in one var.

    • Like 1

  2. Hello,

    I'm very new to Arma 3 scripting. I'm trying to figure out how selections in a dialog work (I'm just using the GUI editor via debug menu), and how pulling certain vehicles to assign to each selection (then spawning at marker) would work. Figured I'd ask since I'm not really sure what to even search for. If my prior knowledge of basic HTML coding is correct I'd need to assign some kind of variable to the selected item(s) then pass that to the spawn script, but I just don't know how that works with Arma's code 😛

     

    What I've got so far is my defines and all the code from the dialog I needed to paste into a file, plus the description.ext. 

     

    Anything helps! Cheers.

    • Like 1

  3. Tried to solve this earlier today, and it seemed to solve itself somehow. Though, when I added more animations it broke again. This happens consistently whenever I try to add new animation entries to the config.cpp. Really at a loss here, not sure what to do. I'm not really experienced as far as mod making/coding goes so I'm not entirely sure of where I should even start with it. In game when I try to move around it plays completely unrelated animations that shouldn't be playing, i.e. trying to move forward makes me move to the side. I'm just trying to add in static animations. I'm making the PBO via Mikero's Tools (which hasn't thrown any errors). The only mods loaded (besides my local mod) are POLPOX's base functions and the Artwork Supporter.

     

    config.cpp: https://pastebin.com/za3ysdNd

×