serabella Posted July 3, 2011 Share Posted July 3, 2011 Hi, I have made a script which spawns a save point after a certain mission is completed. Everything works fine except for when the save is done, CJ automatically picks up the save discet again and I can't continue playing. what's wrong? :SAVE_POINT_1thread "SAVE_POINT_1" $SAVE1_X = -1646.3579 $SAVE1_Y = -2248.0701$SAVE1_Z = 31.1805:SAVE_POINT_1_460395: clear_area 1 at $SAVE1_X $SAVE1_Y $SAVE1_Z radius 1.0 $SAVE_PICKUP = Pickup.Create(#PICKUPSAVE, 3, $SAVE1_X, $SAVE1_Y, $SAVE1_Z):SAVE_POINT_1_82wait 100 Pickup.Picked_up($SAVE_PICKUP)else_jump @SAVE_POINT_1_82 $ONMISSION = 1 Player.CanMove($PLAYER_CHAR) = False03D8: show_save_screen :SAVE_POINT_1_114wait 100 03D9: save_done else_jump @SAVE_POINT_1_114 Pickup.Destroy($SAVE_PICKUP):SAVE_POINT_1_132wait 100 Player.Defined($PLAYER_CHAR)else_jump @SAVE_POINT_1_132 Camera.Restore_WithJumpCutCamera.SetBehindPlayerPlayer.CanMove($PLAYER_CHAR) = True$ONMISSION = 0 :SAVE_POINT_1_166wait 0 80EC: not actor $PLAYER_ACTOR 0 near_point $SAVE_X $SAVE_Y radius 2.0 2.0 else_jump @SAVE_POINT_1_166 jump @SAVE_POINT_1_46 end_thread Link to comment Share on other sites More sharing options...
aStiffSausage Posted July 3, 2011 Share Posted July 3, 2011 I think you should use this: 00A1: put_actor $PLAYER_ACTOR at 345.5621 306.2212 998.4484 And add it here: :SAVE_POINT_1_132wait 100 Player.Defined($PLAYER_CHAR)else_jump @SAVE_POINT_1_132 ***HERE***Camera.Restore_WithJumpCutCamera.SetBehindPlayerPlayer.CanMove($PLAYER_CHAR) = True$ONMISSION = 0 Just change coordinates so CJ will be in front of the save. GL Link to comment Share on other sites More sharing options...
serabella Posted July 3, 2011 Author Share Posted July 3, 2011 thanks, I'll try that Link to comment Share on other sites More sharing options...
serabella Posted July 3, 2011 Author Share Posted July 3, 2011 thanks mate, it works like a charm now Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now