helresa Posted August 16, 2011 Share Posted August 16, 2011 Hi I've got a small cut scene script that I'm working on but at the end when I want the player to appear at a location he doesn't. I arrive at the location but I can't see the charachter or move, but I can rotate the camera below is the code gosub @FADE_DOWN0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 2239.367 -1261.939 22.93750687: clear_actor $PLAYER_ACTOR taskPlayer.CanMove($PLAYER_CHAR, true)0373: set_camera_directly_behind_player02EB: restore_camera_with_jumpcut02A3: enable_widescreen 0 Link to comment Share on other sites More sharing options...
helresa Posted August 17, 2011 Author Share Posted August 17, 2011 OK I might have fixed it myself. When I cut and pasted a different set of coordinates from the restart position and lo and behold my actor appeared, it seems that if you get the height wrong then it doesn't drop you to ground level but you end up in a weird state Link to comment Share on other sites More sharing options...
JimmySwag Posted August 17, 2011 Share Posted August 17, 2011 gosub @FADE_DOWN0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 2239.367 -1261.939 22.93750687: clear_actor $PLAYER_ACTOR taskPlayer.CanMove($PLAYER_CHAR, true)0373: set_camera_directly_behind_player02EB: restore_camera_with_jumpcut02A3: enable_widescreen 0 The coordinates seem correct, I think there was some obstruction in the path. 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