Jump to content

Kelenon

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About Kelenon

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I've been working past few weeks on a system for my unit that would spice things up a little and allow us to search containers for supplies, claim vehicles, salvage wrecks for scrap and track supply usage across the mission. What I managed to get working is the supply tracking piece which basically uses EH to remove for example 1 unit of ammo when player reloads and old magazine is almost empty or removes 1 unit of medicaments when player uses 10 medical items (this one uses ACE). What is also working (with some small issues but still quite alright all things considered) is the scripts that create actions on objects that allow for either searching object for supplies or claiming it or scrapping it - this works well when I call script file from object init field. What I wanted to achieve though is that the action is being applied to: - all viable* objects placed in editor - all viable objects placed during operation (By viable I mean set of containers and vehicles that I defined in global array.) Unfortunately here it's getting complicated as I'm having problem understanding how locality should work here. Basically in MP when launching mission on dedicated server what is happening is that often actions are being applied twice to the same object (or even thrice!) and similar problems are encountered with curator placed objects. If some good soul could take a look at these scripts and point me in the right direction I would be much obliged - I don't expect anyone to fix it for me but I just need someone else insight on this one and help me save this atrocity of code I committed 🙂
×