Jump to content

frankie86ph

Member
  • Content Count

    6
  • Joined

  • Last visited

  • Medals

Everything posted by frankie86ph

  1. Hi, Need help with some simple syntax for part of a larger script. My script aims to adjust load out of dynamically created AI depending on the contents of ammo crates. I'm currently stuck regarding the counting of specific weapons in an ammo crate. How can I create a new variable, which returns the number of specific weapons stored in a specific ammo crate? For example I want to count the number of M14's currently stored in ammo_box_1?
  2. Hi, I've been working the last few days on a shop GUI for an upcoming mission - this allows the player to upgrade AI squads with better equipment, weapons etc. I'm trying to figure out a condition that would count the number of NVGoggles in a specific group (since the GUI enables the player to reinforce groups), I need a dynamic pricing - so first I need to count the number of existing nvgoggles within the group. What condition script would return the total number of NVGoggles in the inventory of units in a specific group.
  3. Got it, appreciate the feedback and explanation.
  4. Hi, I was wondering if anyone familiar with ACE 3 coding could help. I'm creating a mission with a lot of groups spawned through scripts. I've noticed that with ACE 3 Medical installed that these units spawn with the tourniquet, field dressing, package dressing and morphine injector. I want my units to spawn without these items in their inventory. I've tried the removeallitems and specific removeitems commands but this does not seem to remove items specific for ACE Medical. Is there a specific command or function that can be used instead?
  5. Hi everyone, I was wondering how can I create a variable that can be checked and altered throughout an entire campaign. I'm currently creating a campaign whereby the narrative/events change based on the players previous actions in earlier missions. As an example; in my first mission the player is given the sub-task of protecting a particular character (this is an optional side task that doesn't effect the overall win/loss of the mission) - if he survives a certain unique event takes place in the third mission etc. Can someone tell me what scripts I need to run or what files I need to create in order to make something like this work. Alternatively if there's a previous thread or link in wiki that you think might help, please also let me know. I'd appreciate any help. Frankie
×