Jump to content

Uno

Member
  • Content Count

    13
  • Joined

  • Last visited

  • Medals

Posts posted by Uno


  1. Make a single trigger with:

     

    Cond.: (daytime >= 18 OR daytime <= 6) && !inflamed f1

    On.Act.: f1 inflame true;

     

    And onother one with:

    Cond.: !(daytime >= 18 OR daytime <= 6) && inflamed f1

    On.Act.: f1 inflame false;

     

    That should be all you need.

     

    Sir Neo, this one is working like a charm, thank you. In my mission, this looks very atmospheric - you can see fireplaces lighting up on top of the hilltops in different interval when night rolls in.
    But I would like to ask for little more assistance. How this code should be made, to handle multiple fireplaces, like f1, f2, f3... that lights up on same time. Cause now I have to have too many triggers to handle multiple fireplaces.

  2. Also you should add an check if the fire is already out or lit, otherwise the trigger fires every few frames, even if the condition was already met in the past.

     

    Will you help me by coding such trigger?

     

    So first trigger "true":

    daytime >= 18 OR daytime <= 6

     

    Second trigger "false":

    !(daytime  >= 18 OR daytime <= 6)

     

    And...

     

    Thank you guys for assistance. I should ask for help much often, as solving takes time from my night bed...


  3. Hello gentlemen,

    would you help me to solve this little problem. I want to make fire place burn only at night. I have found this code:

     

    ------Fireplace-----

    f1

    ------Trigger-----
    Condition: daytime >= 18 OR daytime <= 6
    On Act: f1 inflame true

    -----Trigger to stop the burning-----
    Condition: daytime <= 18 OR daytime >= 6
    On Act: f1 inflame false

     

    Fire is being lit at 18. But it does not go out at 6. I've changed the "false" trigger since it didnt look logical to use same (=6 and =6 cant have dif vari) time, so:

    -----Trigger to stop the burning-----
    Condition: daytime < 18 OR daytime > 6
    On Act: f1 inflame false

     

    Fire gets lit, but again - doesnt go out at 6 in the morning...
     

    Thnak you


  4. ###Shit, sorry, wrong sectiont. Reposting to troubleshooting. Mods sorry, and please delete.###

     

     

    Hello gentlemen,

    would you help me to solve this little problem. I want to make fire place burn only at night. I have found this code:

     

    ------Fireplace-----

    f1

    ------Trigger-----
    Condition: daytime >= 18 OR daytime <= 6
    On Act: f1 inflame true

    -----Trigger to stop the burning-----
    Condition: daytime <= 18 OR daytime >= 6
    On Act: f1 inflame false

     

    Fire is being lit at 18. But it does not go out at 6. I've changed the "false" trigger since it didnt look logical to use same (=6 and =6 cant have dif vari) time, so:

    -----Trigger to stop the burning-----
    Condition: daytime < 18 OR daytime > 6
    On Act: f1 inflame false

     

    Fire gets lit, but again - doesnt go out at 6 in the morning...
     

    Thnak you
     


  5.  ALiVE / RHS mod bug that is actually game breaking

     

    At first I thought this is not a bug, but something I am doing wrong. I have open discussion on ALiVE forum regarding this problem, and till this moment this bug was re-created with ease once (by spyderblack723 http://alivemod.com/forum/1471-blu-g-f-spawning-based-on-aaf

    So, to check on this bug:

     

    - Place all needed modules to run ALiVE (its 2-3)

    - Place AI Commander, make it BLUE REBEL

    - Place Mil. Spawn (custom spawn) module, and ask it to spawn BLU_G_F (FIA).

    Aaand you will get AAF based insurgents (RHS Insurgents) with AKs. If you make Mil. Spawn module on marker, like town or something.. you'll get 50% of FIA and 50% of Insurgents. And, if Indep. is made hostile to everyone, they will start fighting led by the same Commander.

     

    The problem is, there is no way to spawn BLU FIA (RED FIA works fine). It just dont spawn on your request. It is still possible that module will spawn you FIA but as far as my test result it is 2/13 possibility.

     

    Aaaand one more stupid thing. Modules do not spawn RHS_Insurgetns on request. I thought I will on purpose ask BLU REB commander to spawn me RHS Insurgents, since if it is the only thing it is giving me. So he said fuck you, you get one squad of CSAT and one squad of BLU FIA.

     

    Update: re-downloading RHS or ALiVE doesn't help.

×