Move/offset on spawn

Discussion in 'Halo and Forge Discussion' started by I7ilegacyi7i, Feb 27, 2016.

  1. I7ilegacyi7i

    I7ilegacyi7i Legendary

    Messages:
    6
    Likes Received:
    1
    Hi everyone,

    I appreciate that there will be multiple posts about this and I'm just being lazy looking for the posts, I would be greatful for a quick answer :)

    Basically at the start of a match I want an object to move across the opening cinematic camera, basically a pelican fly past the screen. I have everything set up however the pelican moves on a-b at the start of a match, however if I start up another game , the pelican then starts at position b and travels forward from there, am I missing a scripting that will make the pelican respawn every time a match starts and travel from the same place? I'm also having the same problem with an object that appears to land however when j start up forge to edit it, it again Carrys on into the ground,

    Another question would be is there an option to reset the position of an object to its original spawn? I used what I thought was an option but i think it decided to delete its movement?

    Thanks !
     
  2. Sn1p3r C

    Sn1p3r C Halo 3 Era
    Creative Force

    Messages:
    379
    Likes Received:
    578
    There's a scripting infodump here that might help.

    When you have it move a to b, is that in forge? Or does is move and start from a new position every time you load a custom game?

    For your second question, I believe there is a reset option, under "actions." on a given script.
     
  3. I7ilegacyi7i

    I7ilegacyi7i Legendary

    Messages:
    6
    Likes Received:
    1
    Thanks for replying sn1p3r :) , it's hard to explain since it's so much going back and forth between forge and customs games haha. Basically I'll set it to go from a - b in forge, then I'll test it in a custom game but then I'll discover it doesn't move as far as I want it to, so ill go back into forge and the item (pelican) will appear on the map at point b (showing the original spawn and path in a yellow colour) , I'll then increase the coordinates so it travels further. I'll then boot up the custom game again and it doesn't seem to start from point a but do something totally different like start from point b instead. Very weird what it's doing that it's sometimes different each time haha. To me it seems like after it moves it needs another script to tell the object to reset for the next game?
     
  4. Sn1p3r C

    Sn1p3r C Halo 3 Era
    Creative Force

    Messages:
    379
    Likes Received:
    578
    Yeah... it's really weird that it is carrying between games, but I'd try adding a script to the moving object (On Destroyed/Despawn){Position/Rotation: Reset} and see if that helps. When the object is cleaned up, it'll be reset to the initial location.
     
  5. I7ilegacyi7i

    I7ilegacyi7i Legendary

    Messages:
    6
    Likes Received:
    1
    I'll give that a try... Much appreciated sn1pe!
     
  6. Sn1p3r C

    Sn1p3r C Halo 3 Era
    Creative Force

    Messages:
    379
    Likes Received:
    578
    Just hope it helps! If it doesn't, post back here and we'll figure out something that does =)
     
  7. I7ilegacyi7i

    I7ilegacyi7i Legendary

    Messages:
    6
    Likes Received:
    1
    I think you were right :) I have a button to press to reset the object to original , then I save the map after its reset , it must have been something to do with editing the movement while the pelican was away from its original spawn. So I if wanted it to move an extra 100 , it would add it onto its current position which was b and not a :) seems to have worked hopefully! Thanks again sn1pe!
     
    Sn1p3r C likes this.

Share This Page