Announcement

Collapse
No announcement yet.

REQUEST for lights out script

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • REQUEST for lights out script

    A map object in the form of a lighthouse exists on any given map. How do I kill the light to it without destroying the lighthouse itself?

    I suspect something tied to a gamelogic with a range for the classname of Land_LightHouse_F https://community.bistudio.com/wiki/...ghtHouse_F.jpg



    I have been trying to tie triggers to it with set damage 1 but I want this to occur on the destruction of another object. The method I use for street lights is not cutting it.

    Current ARMA Development Project: No Current Project

    "An infantryman needs a leader to be the standard against which he can judge all soldiers."

    Friend of |TG| Chief

  • #2
    Re: REQUEST for lights out script

    http://www.armaholic.com/forums.php?m=posts&q=8951

    https://www.youtube.com/watch?v=ULpwSUFkzuU

    https://forums.bistudio.com/topic/14...ts-turned-off/

    Google is your friend :)

    TGU Instructor TG Pathfinder

    Former TGU Dean Former ARMA Admin Former Irregulars Officer

    "Do not seek death. Death will find you. But seek the road which makes death a fulfillment." - Dag Hammarskjold

    Comment


    • #3
      Re: REQUEST for lights out script

      So as I stated, those lights out scripts aren't working for lighthouses. Google is my best friend and we chat quite a bit ;)

      Current ARMA Development Project: No Current Project

      "An infantryman needs a leader to be the standard against which he can judge all soldiers."

      Friend of |TG| Chief

      Comment


      • #4
        Re: REQUEST for lights out script

        so the lighthouse is the only thing you want to disable?

        TGU Instructor TG Pathfinder

        Former TGU Dean Former ARMA Admin Former Irregulars Officer

        "Do not seek death. Death will find you. But seek the road which makes death a fulfillment." - Dag Hammarskjold

        Comment


        • #5
          Re: REQUEST for lights out script

          http://feedback.arma3.com/view.php?id=4547

          Ongoing issue apparently

          TGU Instructor TG Pathfinder

          Former TGU Dean Former ARMA Admin Former Irregulars Officer

          "Do not seek death. Death will find you. But seek the road which makes death a fulfillment." - Dag Hammarskjold

          Comment


          • #6
            Re: REQUEST for lights out script

            I ran into that one early, I think that is trying to destroy a part of the model, I am just trying to disable the lights. If all else fails, I can rig an explosion.



            Hmm, is it possible to configure a silent explosion?

            Current ARMA Development Project: No Current Project

            "An infantryman needs a leader to be the standard against which he can judge all soldiers."

            Friend of |TG| Chief

            Comment


            • #7
              Re: REQUEST for lights out script

              Not sure, I'm running out of ideas for this. What are you trying to achieve? Maybe we can brainstorm a workaround.

              TGU Instructor TG Pathfinder

              Former TGU Dean Former ARMA Admin Former Irregulars Officer

              "Do not seek death. Death will find you. But seek the road which makes death a fulfillment." - Dag Hammarskjold

              Comment


              • #8
                Re: REQUEST for lights out script

                I think I've found my answer but let's talk soon. I don't like to show how the sausage is made on the forums.

                Current ARMA Development Project: No Current Project

                "An infantryman needs a leader to be the standard against which he can judge all soldiers."

                Friend of |TG| Chief

                Comment


                • #9
                  Isn't this the script bin?? aren't we supposed to post "recipes" on how to do just the things that we talk about here?

                  Comment


                  • #10
                    Look we want to see how the wizard works behind the curtain but leave the sausage out of it for now please. This is an all ages area.

                    Solo is right here, the script bin is for finished scripts and to be a repository for mission makers. The Mission Development thread is the appropriate place for scripting help and requests.

                    This here is intended to be a library of mission resources...and a searchable one at that. Wink wink, nod nod, share share...
                    |TG-189th| Unkl
                    ArmA 3 Game Officer
                    Dean of Tactical Gamer University
                    189th Infantry Brigade Member
                    SUBMIT A RIBBON NOMINATION OR CONTACT AN ARMA ADMIN
                    "We quickly advance in the opposite direction and take cover in a house on the SW side of town." - BadStache

                    Comment


                    • #11
                      There has not been any kind of direct support to make this happen until the very last patch 1.64. From SPOTREP #00059:
                      Now that this function is here with the patch 1.64, a small code snippet to do what original post requested is easily possible. Source: (wiki entry)


                      Code:
                      {
                      [_x,false] call BIS_fnc_switchLamp; false;
                      
                      } count nearestObjects
                      [player,
                      ["Lamps_base_F","PowerLines_base_F","PowerLines _Sma ll_base_F"],
                      200];//Switches all lamps in a radius of 200 off
                      Last edited by Unkl; 10-07-2016, 02:46 PM.

                      Comment


                      • #12
                        Oh excellent. This makes me want to get back into mission dev.

                        Been spending my spare type learning Python.

                        Current ARMA Development Project: No Current Project

                        "An infantryman needs a leader to be the standard against which he can judge all soldiers."

                        Friend of |TG| Chief

                        Comment


                        • #13
                          Monty?? . . . . . sorry, it was just too easy . . . . . LOL

                          Comment

                          Connect

                          Collapse

                          TeamSpeak 3 Server

                          Collapse

                          Advertisement

                          Collapse

                          Twitter Feed

                          Collapse

                          Working...
                          X