1. Hey there Guest,

    The game servers have moved to semi-dedicated hardware and IPs have changed. Please see front page server widget for up-to-date game server information.

Few questions on AddOutput

Discussion in 'Mapping Questions & Discussion' started by Unregistered HyperCam 2, Jul 14, 2018.

  1. Unregistered HyperCam 2

    Unregistered HyperCam 2 L3: Member

    Messages:
    117
    Positive Ratings:
    4
    Does the counter in the end of addoutput set the amount of times the output can be fired or adds to it? I've tested it and it seems to set the amount of times it is fired but then why can't you remove an output by using addoutput with a 0 in the counter parameter?
    Also, can you have two nested addoutputs (or more)? meaning having an addoutput input add an output that adds an output? it seems like you can't do that as well.

    e.g: The output will only be fired once. (also I am aware of the OnTrigger's output existence this is just an example)
    [​IMG]
     
    Last edited: Jul 14, 2018
  2. Da Spud Lord

    aa Da Spud Lord L0: Crappy Member

    Messages:
    873
    Positive Ratings:
    592
    Sorry about the downvote, my phone bugged out and misclicked.

    Addoutput does exactly what it sounds like: it adds an output to an entity. AFAIK it cannot be used to modify other outputs in the target entity. So, for example, if you add an output to open a door, then add that same output again, you'll have two separate outputs to open the door, not one output that has been modified, and every time the output fires, the door will be told to open twice (but will actually only open once because an already open door can't open again). In the same token, created outputs can't be deleted. Setting the number of times to fire to 0 won't change the number of times an existing output will fire, but rather creates a new output that fires 0 times (effectively a complicated way of doing nothing).
     
  3. Unregistered HyperCam 2

    Unregistered HyperCam 2 L3: Member

    Messages:
    117
    Positive Ratings:
    4
    I thought that was the case but after testing it seems like this is wrong..