Spawning paths.

Discussion in 'Mapping Questions & Discussion' started by Untouch, Nov 6, 2010.

  1. Untouch

    Untouch L4: Comfortable Member

    Messages:
    187
    Positive Ratings:
    43
    Alright, I want to be able to spawn random paths, I have everything together, it should be working.

    It wasn't though and I found out why.
    Instead of adding in an entity to teleport to a path_track, you need to put in a parameter.

    Entity updates the targetnames if they are different, parameters do not.

    Is there anything I can do about this?
    I
     
  2. Prestige

    aa Prestige im not gay anymore

    Messages:
    1,773
    Positive Ratings:
    1,526
    wouldn't blocking off a path with a locked door and then unlocking said door do the trick? or is it something different, like paths changing into the same spot?
     
  3. Untouch

    Untouch L4: Comfortable Member

    Messages:
    187
    Positive Ratings:
    43
    No, i'm thinking about spawning objects anywhere in the map that have 4 possible random spots.
    The random part works fine, but I can't get the train to jump to the track.
     
  4. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    I can't really grasp the issue or desired function here, care to elaborate a bit more?
     
  5. Untouch

    Untouch L4: Comfortable Member

    Messages:
    187
    Positive Ratings:
    43
    Alright.

    Theres a train and 4 possbile tracks.

    This train and tracks can be spawned anywhere with the template spawner.
    When the track spawns it should jump to one of the tracks.

    but due to the fact that TeleportToPathTrack uses parameters, the entity name doesn't update so the train always jumps to the first track ever spawned (which has been deleted by then)

    I want to know if there is any way to tell a train to jump to a track without teleporttopathtrack.
     
    Last edited: Nov 6, 2010
  6. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    If the train setup only ever exists in one instance, disabling name fixup on the template would work. Otherwise, no, I don't think there is another way to teleport trains to a specific path.