Jump to content

Basicology Major

Member
  • Content Count

    3
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About Basicology Major

  • Rank
    Rookie
  1. So currently I have not found many ways with my small knowledge of SQF/arma natives or finding anyway online thats been demonstrated- But I'd like assistance in creating a script. Currently I am using SOG Prairie Fire Exectutor/Random Site modules to place caches that are all removeable via addAction for a search and destroy type mission- With each cache being randomly spawned via module. All of this works and I wish to to map markers to said caches that do spawn, as the Random Site module chooses several different locations. I would like only for (in this instance EAST or OPFOR) to have markers on said objects that are the caches. What method could I use for this? A snippet in initPlayerLocal? Can someone help create a mockup of what that would be? Id like: Markers to be visible for OPFOR only in mission MOST methods for one side markers Ive seen show ALL the markers in the briefing regardless Dont know how to actualize this. In initPlayerLocal? In seperate SQF script? Have them tied to editor placed objects. In this case, the object name/type in the screenshot: Multiple objects that are names cache_(letter)(number) ex. cache_a1 Any help is appreciated. I dont really know where to start code wise.
  2. Would you mind supplying me with a User action (scroll menu) example to properly access and display via hint? I've made my attempts but it kind of just returns (null) every time and I just don't have much examples I can go off of to read and print variables into hints.
  3. I am pretty new to doing any sort of SQF/init scripting that isnt just frankensteining code together so I would appreciate any help! Simply put, I want to make a fun little roleplay mission where for that mission, a phrase comprised of multiple randomly selected arrays is generated. The Indfor act as captives that are all assigned ONE word from the phrase at random to keep secret. (This is where multiple arrays work better since you can just call the arrays by "word1", "word2", "word3". (I intend to have 4 words, 1 array for each.) And ontop of that I want the entire code phrase to be displayed in its entirety to the Blufor. For this to work, the result of the generation needs to only be prompted once and then have. TLDR: Server generates a code phrase from several arrays. I cant figure out the init code and they usually return as null no matter what I attempt. And to be exact, I dont want people to generate a phrase/array results every time they call; I simply want it generated, stored, and have players access the results. I dont know how efficiently this could be done whatsoever outside of theory crafting nonsensical code. If there is a better alternative please help me out. Please help, Working backwards I am trying to: I inserted the code into initServer.sqf for simplicity; Can execute it as a script later on? Or is a dedicated SQF necessary? This code is almost certainly full of wrong or incorrect syntax/formatting. This is just an outliner of what I am trying. If my method is wrong then please help me goal wise. 2. Have a way to display either a SINGLE result of that array on individual units, preferably just adding a action into their init boxes to get the array/codephrase. I want 2 UserActions I can insert into unit inits; One that displays the codephrase, and one that displays a single array's result- as hints.
×