Open and Close gates Automatically when You go through them With this Simple Code!

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2024

ความคิดเห็น • 26

  • @Gunter_Severloh
    @Gunter_Severloh  3 หลายเดือนก่อน +3

    Timestamps and code are in the description of the video!

  • @zombiekillers3507
    @zombiekillers3507 3 หลายเดือนก่อน

    I'll be using this stuff in my next mission thank you

  • @zombiekillers3507
    @zombiekillers3507 3 หลายเดือนก่อน

    I love some world war II stuff and I had the hardest time trying to get the ramp to rotate on the landing crafts I finally got it

  • @warlockiii1846
    @warlockiii1846 3 หลายเดือนก่อน

    Certified banger

  • @play3r436
    @play3r436 3 หลายเดือนก่อน

    A nice and simpel way of doing it, thanks for the video, I see you used Tinter's furniture script in this one also.

    • @Gunter_Severloh
      @Gunter_Severloh  3 หลายเดือนก่อน

      Nope no script, i used ZEI - Zeus and Eden Interiors
      steamcommunity.com/sharedfiles/filedetails/?id=1251859358
      though i did all the chairs myself, i had another script i was going to show with this video
      where you can sit in those chairs but the script would not work no matter what i did.

  • @STyx2909
    @STyx2909 3 หลายเดือนก่อน

    One point to consider when using gates, it can mess with AI pathfinding as they consider gates as obstacles, unaware of the trigger opening them. I finally opted to let gates open and close them on OPFOR only.
    Double thump up for the role play.

    • @Gunter_Severloh
      @Gunter_Severloh  3 หลายเดือนก่อน +2

      Thanks STyx2909, ya good points, though the idea in general for the use of the checkpoints, and gates is meant for the player or players.
      Also i had setup that building at the end there with chairs as i was also going to share a script, but the script dont want to work so i had to go with what i had.

    • @STyx2909
      @STyx2909 3 หลายเดือนก่อน +1

      @@Gunter_Severloh and it was good enough.

  • @JONDutton-t9u
    @JONDutton-t9u 3 หลายเดือนก่อน

    hi ate, great addition, think you could cope n paste, the snippet for it?? i want to try take this to dayz

    • @Gunter_Severloh
      @Gunter_Severloh  3 หลายเดือนก่อน

      Its in the description of the video.

    • @JONDutton-t9u
      @JONDutton-t9u 3 หลายเดือนก่อน

      @@Gunter_Severloh yea seen that but i mean surely that cant be all id neeed? im new to it all you see.

    • @Gunter_Severloh
      @Gunter_Severloh  3 หลายเดือนก่อน +1

      @@JONDutton-t9u Yup, as i showed in the video thats all it needs, gate just needs a name, and then the code in the init box of the trigger. When did you started using the eden editor? and Welcome to Arma 3 if your new to it btw.

  • @casiofin4136
    @casiofin4136 3 หลายเดือนก่อน +1

    If the gate has two separate doors. Then you have to write like this
    open:
    gate_1 animate ["Door_1_rot", 1];
    gate_1 animate ["Door_2_rot", 1];
    close:
    gate_1 animate ["Door_1_rot", 0];
    gate_1 animate ["Door_2_rot", 0];
    And here's a little extra thing for you that you can try, it's quite old but it's only arma 3 things
    this closes all warehouse doors.
    create Game Logic name it "Door"
    add this to init
    ((nearestObjects [this, ["Land_Cargo_House_V1_F"], 5 or 8]) select 0) setVariable ["BIS_disabled_Door_1", 1, true];

    • @Gunter_Severloh
      @Gunter_Severloh  3 หลายเดือนก่อน +1

      Nice, thanks for adding that, ya was always wondering about duel opening doors,
      should be very useful for others seeing this.

  • @Adrianlpe
    @Adrianlpe 3 หลายเดือนก่อน

    Im trying to set a vehicle store, im currently using HALs Script for the weapons part. But i´m unable to set it

    • @Adrianlpe
      @Adrianlpe 3 หลายเดือนก่อน

      What I want to create is an economy based mission where the users have to get money doing missions in order to buy it´s weapons and vehicles. Also, It would be asome if I can transfer that data from mission to mission

    • @Gunter_Severloh
      @Gunter_Severloh  3 หลายเดือนก่อน

      Install it or set it up you mean?

    • @Gunter_Severloh
      @Gunter_Severloh  3 หลายเดือนก่อน

      @@Adrianlpe You mean awesome, ya you can transfer the script and other codes from mission to mission, just copy the codes, and the files to the new mission's folder and same with the codes to where their supposed to be in the mission.

  • @phantomfreak0813
    @phantomfreak0813 3 หลายเดือนก่อน

    Hey Gunter, is this MP compatible? It does not work for my MP server :(

    • @Gunter_Severloh
      @Gunter_Severloh  3 หลายเดือนก่อน

      Hey man, it should work in mp lan but thats local to your machine, for a dedicated you may need to run it another way so idk.
      Back in 2017 i had a realism unit and we had this code on our server in a mission for gates and such, and it worked there np, make sure the server has an init.sqf with the isserver code in it.
      I didn't build the mission so i dont know what it took to make it work wasn't even thinking about that then it just did. Let me get back to you on this, will ask my friend who runs our dedicated server for our group.

    • @Gunter_Severloh
      @Gunter_Severloh  3 หลายเดือนก่อน

      Hey, getting back to you in the trigger under where you see activation, set it to server only.

    • @phantomfreak0813
      @phantomfreak0813 3 หลายเดือนก่อน

      @@Gunter_Severloh Hey Gunther, thank you for checking!!! No way its THAT easy - i will try and write you again 🙂

    • @phantomfreak0813
      @phantomfreak0813 2 หลายเดือนก่อน

      @@Gunter_Severloh Sadly did not work :(
      Have done it just like you wrote, "Server Only" did not work :/

    • @Gunter_Severloh
      @Gunter_Severloh  2 หลายเดือนก่อน

      @@phantomfreak0813 Go on BI forums and ask pierremgi ask this guy
      forums.bohemia.net/profile/900806-pierremgi/
      he might know whats going on or what is needed.