Jump to content

OnionTerror

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Medals

Posts posted by OnionTerror


  1. Sorry for the late reply fellas, after testing the scenario some more it became apparent that my initial plan want going to work, so im in the process of rethinking how i want to do it. the second part of this was to move to a specific position and set the mortar up there and have an area trigger detect when it had been assembled. this presented another problem as i had no idea how to do this, but then someone suggested using the event trigger handle weaponassembled or something. however, im not that good at scripting, and event handlers are an area i have not explored!

     

    EDIT: Eventhandler- weaponassembled


  2. Trying to do something similar, team starts with backpacks for a mortar and must assemble it in a specific location. Its not possible to give the mortar a specific name or group it to the trigger as it doesnt exist up until the point it is assembled in-game, and so far in the trigger condition "I_Mortar_01_f" in thislist does not trigger anything.

     

    Appreciate any help you guys can give!


  3. Thanks for your reply Johnnyboy, picking up the tube and using the assigneditems command only returned items such as gps, NVGs, etc. As an experiment i also tried using additem when the player enters a trigger area, however this proved fruitless. perhaps mortar pieces are classed as a vehicle? in the editor the mortar pieces and other such weapons are classed as dismantled weapons, but ive no idea how to call such items

     

    looking in the config viewer, the mortar pieces are in the vehiclecfg folder.

     

    EDIT: Got it, its done with *variable* addbackpack "I_Mortar_01_weapon_F"

×