VariableTriggers and Area Triggers

Discussion in 'Bukkit Help' started by chakyl, Jan 2, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    chakyl

    I've just started using VariableTriggers for making warp/command pads for things on my server. There is just one problem; whenever I use a pad for a arena plugin such as MobArea and Paintball, I automatically get put back in the game because of the way the commands work, bringing you back to the point at which you entered the command, which indecently is the area that brings you to it. Is there any fix/workaround for this?
     
  2. Offline

    jorisk322

    TP the user to a place near the pad when they enter it, and THEN use the arena commands.
     
  3. Offline

    midnightfang22

    What do you have for the script? Doing something like this should work for most cases for trying to run the script once. Just clear the boolean later somehow.
    Code:
    - '@IF b $area.<playername> = false'
    - '  @SETBOOL $area.<playername> true'
    - '  //Do the rest of the stuff'
    - '@ENDIF'
     
  4. Offline

    chakyl

    Hmm... That could work, but it seems that there would be a much easier way, as I have many pads to do.

    Here is what I have for the script:

    hubworld:
    1271,97,-288,1273,99,-286:
    Name: paintball
    Enter:
    CoolDown: 10
    Script:
    - '@CMDOP pb random'
    - '@POOF 5 1272,98,-287'
     
Thread Status:
Not open for further replies.

Share This Page