EndConversation()

Moderator: Graf Zahl

User avatar
solarsnowfall
Persecution Complex
Posts: 363
Joined: Fri Aug 05, 2005 8:51

EndConversation()

Post by solarsnowfall »

If you had some sort of timed event that that needed to interrupt a conversation, it could come in handy. The idea would be that you don't specify any arguments, it would just check if there is any active conversation, and end it.

GetViewPitch()?

How impossible would it be to return a pitch angle from the player's view?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

1) (EndConversation) impossible. When a conversation is active the game is halted so there is no way to do it.
2) (GetViewPitch) not particularly hard. But you have to be a little more specific. Pitch is an actor property and due to synchronization issues you can't just get the viewer's pitch because it'd be different for players in a multiplayer game.
User avatar
solarsnowfall
Persecution Complex
Posts: 363
Joined: Fri Aug 05, 2005 8:51

Post by solarsnowfall »

Graf Zahl wrote:Pitch is an actor property and due to synchronization issues you can't just get the viewer's pitch because it'd be different for players in a multiplayer game.
How about via TID or PlayerNumber()? What about setting an actor's pitch via ACS?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

The only thing in the game that uses the pitch are cameras. BUt setting it isn't that hard. All you need is a new ACS function.
User avatar
solarsnowfall
Persecution Complex
Posts: 363
Joined: Fri Aug 05, 2005 8:51

Post by solarsnowfall »

In that case, how about a camera that can follow it's target and correct for view pitch?
User avatar
Alter
Posts: 851
Joined: Wed Oct 05, 2005 8:55
Location: Poland, Lodz

Post by Alter »

Conversations are only for strife?
User avatar
solarsnowfall
Persecution Complex
Posts: 363
Joined: Fri Aug 05, 2005 8:51

Post by solarsnowfall »

Didn't you already say something like that here? And didn't you read Enjay's answer?
User avatar
grubber
Site Founder
Posts: 230
Joined: Wed Jun 29, 2005 18:57
Location: Czech Republic, Zlin

Post by grubber »

Graf Zahl wrote:The only thing in the game that uses the pitch are cameras. BUt setting it isn't that hard. All you need is a new ACS function.
..and players. I'd did it in similar fashion to Get/SetActorAngle.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

The players use the pitch mostly for the camera attached to them. And yes, I'd do it the same way.
User avatar
solarsnowfall
Persecution Complex
Posts: 363
Joined: Fri Aug 05, 2005 8:51

Post by solarsnowfall »

So, just for closure, any chance of Get/SetCameraPitch() for players and cameras making it in?

Return to “Closed Feature Suggestions”