Announcement

Collapse
No announcement yet.

REQUEST for lights out script

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

  • Dimitrius
    started a topic REQUEST for lights out script

    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.

  • MadSoloSniper
    replied
    Monty?? . . . . . sorry, it was just too easy . . . . . LOL

    Leave a comment:


  • Dimitrius
    replied
    Oh excellent. This makes me want to get back into mission dev.

    Been spending my spare type learning Python.

    Leave a comment:


  • hedgehog
    replied
    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, 03:46 PM.

    Leave a comment:


  • Unkl
    replied
    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...

    Leave a comment:


  • MadSoloSniper
    replied
    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?

    Leave a comment:


  • Dimitrius
    replied
    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.

    Leave a comment:


  • LowSpeedHighDrag
    replied
    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.

    Leave a comment:


  • Dimitrius
    replied
    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?

    Leave a comment:


  • LowSpeedHighDrag
    replied
    Re: REQUEST for lights out script

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

    Ongoing issue apparently

    Leave a comment:


  • LowSpeedHighDrag
    replied
    Re: REQUEST for lights out script

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

    Leave a comment:


  • Dimitrius
    replied
    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 ;)

    Leave a comment:


  • LowSpeedHighDrag
    replied
    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 :)

    Leave a comment:

Connect

Collapse

TeamSpeak 3 Server

Collapse

Twitter Feed

Collapse

Working...
X