Randomized teleport

Discussion in 'Mapping Questions & Discussion' started by KaidemonLP, Feb 21, 2018.

  1. KaidemonLP

    KaidemonLP L4: Comfortable Member

    Messages:
    190
    Positive Ratings:
    33
    Any way to make players be randomly teleported to some predetermed points.
     
  2. henke37

    aa henke37

    Messages:
    1,883
    Positive Ratings:
    442
    Pretty much all ways to teleport players pick a destination at random if there are multiple ones with the same name.
     
  3. KaidemonLP

    KaidemonLP L4: Comfortable Member

    Messages:
    190
    Positive Ratings:
    33
    I did try that, but all players just got teleported to a sinle one
     
  4. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    337
    Make a logic_case and give it these outputs:

    OnCase01 - <trigger_teleport's name> - AddOutput - message <destination 1 name>
    OnCase02 - <trigger_teleport's name> - AddOutput - message <destination 2 name>
    OnCase03 - <trigger_teleport's name> - AddOutput - message <destination 3 name>
    ect

    Now give the trigger teleport the output:
    OnStartTouch - <Logic_case's name> - PickRandom (Or PickRandomShuffle if you preffer)
     
    • Agree Agree x 1
  5. KaidemonLP

    KaidemonLP L4: Comfortable Member

    Messages:
    190
    Positive Ratings:
    33
    Thanks!