SmileyCat Posted November 13, 2010 Share Posted November 13, 2010 I want a vertibird to fly over and land, leave a robot, and then take off into the air and disappearing.But I cant get it to work! Someone has to know how to do this! Help will be appreciated. Link to comment Share on other sites More sharing options...
Ez0n3 Posted November 14, 2010 Share Posted November 14, 2010 I believe it's something like this (not sure how you're calling it or what objects you're using):int iStage float fTimer ref rVertibird Begin GameMode if (iStage == 0) set rVertibird to Player.PlaceAtMe VertibirdObjID 1 ; place vertibird at player rVertibird.PlayGroup Forward 1 ; play the approach anim set iStage to 1 elseif (iStage == 1 && rVertibird.IsAnimPlaying == 0) rVertibird.PlayGroup Idle 1 ; play idle landed anim rVertibird.PlaceAtMe RobotObjID 1 ; place robot at the vertibird set fTimer to 2 ; delay before vertibird takes off set iStage to 2 elseif (iStage == 2) if (fTimer > 0) set fTimer to (fTimer - GetSecondsPassed) else rVertibird.PlayGroup Backward 1 ; play takeoff anim set iStage to 3 endif elseif (iStage == 3 && rVertibird.IsAnimPlaying == 0) set iStage to -1 rVertibird.Disable rVertibird.MarkForDelete ; cleanup after it disappears endif End Link to comment Share on other sites More sharing options...
SmileyCat Posted November 14, 2010 Author Share Posted November 14, 2010 make that noob-friendly, or write a tutorial for it,please. Link to comment Share on other sites More sharing options...
Thanos001 Posted November 15, 2010 Share Posted November 15, 2010 I believe it's something like this (not sure how you're calling it or what objects you're using): Thanks for this, I might use this in the future. I'll be sure to credit you. Link to comment Share on other sites More sharing options...
Yossarian22 Posted November 16, 2010 Share Posted November 16, 2010 make that noob-friendly, or write a tutorial for it,please. Nice behavior. I am sure he will do as you said in no time after such a friendly request :thumbsup:You said help would be appreaciated... well you got help, what I miss so far is the appreciation. Link to comment Share on other sites More sharing options...
SmileyCat Posted November 17, 2010 Author Share Posted November 17, 2010 I might not show it, but I APPREACIATE IT. Link to comment Share on other sites More sharing options...
Recommended Posts