cyber-menace Posted December 21, 2003 How can I use Zdoom scripting to have the player face a certain direction? I want him to face south when the script is executed. How do I do this? 0 Share this post Link to post
Job Posted December 21, 2003 Uh...you're not talking about splayer or DM starts are you? 0 Share this post Link to post
boris Posted December 21, 2003 Job said:Uh...you're not talking about splayer or DM starts are you? cyber-menace said:I want him to face south when the script is executed. 0 Share this post Link to post
Linguica Posted December 21, 2003 You could always spawn a camera at the player's location facing south, couldn't you? 0 Share this post Link to post
cyber-menace Posted December 21, 2003 Yeah, but he's not looking at it. I need him to look south at the camera that is facing north. So you can see his face. He teleports to this camera, but for some reason he doesn't face in the same direction as the teleport destination thing. 0 Share this post Link to post
Kate Posted December 22, 2003 cyber-menace said:he doesn't face in the same direction as the teleport destination thing. There is a second parameter in teleport_nofog that controls whether he faces the teleport destination. Try setting this to 1. 0 Share this post Link to post
The Ultimate DooMer Posted December 22, 2003 Does this work with TeleportOther, too? (as I'm having trouble getting a scripted marine to face a certain way, and teleporting him didn't work) 0 Share this post Link to post
cyber-menace Posted December 23, 2003 Yes I believe it does. I don't see why it wouldn't. All the other teleports work with the extra flag. 0 Share this post Link to post