Will this work?

Chaos_Knight

New Member
Reaction score
39
Okay, will this work? I think it wont but i assume it still will leak.
Trigger:
  • Triger
    • Events
      • Time - Every 0.03 seconds of game time
    • Conditions
    • Actions
      • Custom script: call RemoveLocation(udg_MyVar)
      • Custom script: call DestroyGroup(usg_MyGroup)


To destroy leaks?
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
Why would you even consider doing that? Just clean the leaks whenever you create them, something like this should not be done.
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
It would all depend on what you mean with "work". It will compile, though it will constantly try to remove locations that do not exist, and destroy groups that are not there. If you for some unfathomable reason want to achieve this, then by all means it "works".
 

Chaos_Knight

New Member
Reaction score
39
It would all depend on what you mean with "work". It will compile, though it will constantly try to remove locations that do not exist, and destroy groups that are not there. If you for some unfathomable reason want to achieve this, then by all means it "works".
If i create a trigger where it doesnt remove this leak. Will it work then, with this trigger?
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
I'm not sure how constant double freeing of locations and similar affects the game, since it's just plainly dumb to do to begin with. It would remove your locations and groups, but the better alternative is to do it correctly, within the trigger using them.
 

PrisonLove

Hard Realist
Reaction score
78
It will work, but it may inadvertently remove a leak that wasn't intended to be removed yet, thus causing major errors. It is always best to remove leaks in the triggers that they occur in, or else it could lead to many unintended errors.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • jonas jonas:
    I think you should buy a used macro lens, do you already have a system camera?
  • Varine Varine:
    No, I'm still looking into them and kind of leaning towards a Rebel T7 at the moment because it's pretty cheap and lenses seem pretty easy to come by. Used ones are only like 3-400 dollars, which is much cheaper than I was planning
  • jonas jonas:
    I can't really recommend you any specific lens or body due to lack of knowledge, but in my experience camera shops are very helpful, especially those that also sell used parts
  • Varine Varine:
    There's only one camera shop in my town and they seem to specialize in film, but I have time before I need it. I'm not in a rush so I'll keep researching them
  • jonas jonas:
    I think since you have such specific needs, you should find a way to give a try for different systems without having to commit to one
  • jonas jonas:
    It would suck to spend 400$ on a system that doesn't have the capability you need
  • jonas jonas:
    and it will probably take a couple of tries to get the settings right
  • Varine Varine:
    It would but I can also just make sure I can return them. The system I have works, it's pretty straightforward and I tested it with a camera I have. All it really is is a little cartridge that holds the transparency film and a white light source behind it that projects the image into the lens
  • Varine Varine:
    I'll have to fuck with the light a bit and try some different lighting methods to get color accuracy, but I have IT8 targets for that
    +1
  • The Helper The Helper:
    get that color accuracy :)
  • Varine Varine:
    They're really helpful for calibrating things because I'm really colorblind, so I'm not great at doing it by eye
    +2
  • Varine Varine:
    Well the long, slow slog of winter has officially begun here
  • Varine Varine:
    I have a bunch of community service I have to do, and I have a feeling there will be a lot of snow shoveling involved now
  • The Helper The Helper:
    don't know why people choose to live in that kind of weather :)
  • Varine Varine:
    Well
  • Varine Varine:
    My job is here
  • Varine Varine:
    I was born here man I didn't choose shit
  • Varine Varine:
    And also, I keep moving away and it doesn't get any better. I moved to San Antonio and shit froze there AND we had blackouts
  • tom_mai78101 tom_mai78101:
    I'm back, suffering from severe jet lag.
  • The Helper The Helper:
    Cold is following your ass around Varine - I just dont think I could handle a snowy winter.
  • The Helper The Helper:
    Welcome Back Tom!
  • The Helper The Helper:
    I hear that taking a Melatonin around your normal bedtime can really fix jet lag

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top