skaarjman Posted September 30, 2021 How does one make A_SpawnItemEx add player velocities to a spawned projectile. In wiki it says "SXF_TRANSFERPITCH - transfers the calling actor's pitch to the spawned actor. Note that this has no effect on the spawned actor's velocities" A_SpawnItemEx ("wMatch",cos(pitch)*8,4,38-(sin(pitch)*12),cos(pitch)*frandom(5,8),0,-sin(pitch)*frandom(5,8),0,SXF_TRANSFERPITCH). Is there are a way to make this function to have effect on actor's velocities ? 0 Quote Share this post Link to post
0 Mr.Rocket Posted September 30, 2021 Good question, I was trying to figure this out a while back, aside from just using portals. 0 Quote Share this post Link to post
Question
skaarjman
How does one make A_SpawnItemEx add player velocities to a spawned projectile.
In wiki it says "SXF_TRANSFERPITCH - transfers the calling actor's pitch to the spawned actor. Note that this has no effect on the spawned actor's velocities"
A_SpawnItemEx ("wMatch",cos(pitch)*8,4,38-(sin(pitch)*12),cos(pitch)*frandom(5,8),0,-sin(pitch)*frandom(5,8),0,SXF_TRANSFERPITCH).
Is there are a way to make this function to have effect on actor's velocities ?
Share this post
Link to post
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.