Moving Something?

Discussion in 'Mapping Questions & Discussion' started by Foreverkul, May 20, 2008.

  1. Foreverkul

    Foreverkul L4: Comfortable Member

    Messages:
    157
    Positive Ratings:
    14
    Is there an entity that allows you to add/subtract from the position of another entity? I can't seem to find anything like that.
     
  2. TheDarkerSideofYourShadow

    TheDarkerSideofYourShadow L10: Glamorous Member

    Messages:
    792
    Positive Ratings:
    143
    It would be a pain, but parent whatever you want to move to something (train?) and just move that a little?
     
  3. Pseudo

    Pseudo L6: Sharp Member

    Messages:
    319
    Positive Ratings:
    149
    func_movelinear has an input "SetPosition" that adjusts the position based on a float number input. 0 is the start position, 1 is the end position, and the entity can accept values that make it move beyond those positions. I think that this could be used in combination with math_counter to add and subtract from an entity's position.
     
    • Thanks Thanks x 1
  4. Foreverkul

    Foreverkul L4: Comfortable Member

    Messages:
    157
    Positive Ratings:
    14
    Hm, I'm kind of surprised there is not an entity to do this.
     
  5. Vander

    Vander L8: Fancy Shmancy Member

    Messages:
    507
    Positive Ratings:
    110
    Psedo, everytime you post I am reminded of how much I have yet to learn.
    :blink:
     
  6. Snipergen

    Snipergen L13: Stunning Member

    Messages:
    1,053
    Positive Ratings:
    150
    Yea same, but I think that's because pseudo tries to do completely diffrent stuff than the stock maps :)