Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / Players Offset-Angle and Rotation

Author
Message
Anymore
14
Years of Service
User Offline
Joined: 22nd Jan 2012
Location:
Posted: 21st Nov 2012 13:06
dear community

in some case i want to shoot as the player not in the straight direction but also in a angle right or left
( the player looks straight, but the shoot goes left or right )

i try to set the offset angle from the player with this commands
i hope there the right ones for this case ...

:state=1:plroffsetanglex=15
:state=1:plroffsetangley=15
:state=1:plroffsetanglez=15

Complete Script Syntax List

but it seems that this commands have a endless loop. the look from the player are always turned in there direction.

i try this with two different machines and the result are the same. i make something wrong or is this something unwanted ?

another thing i have is a timing problem. when i turn the player to some angle and i make a shoot and after i turn back to the original position, the shoot goes not to the angle position, he goes to the original position. only when i make a timer delay after the turn, the shot goes right at this position.

maybe someone knows a way to check, that the player look has reached the position already ? to check the angle with $CPY does not work, the variable has already the value from the command plrrotatey before the camera have reached the angle.

have a nice time

greetings anymore

Login to post a reply

Server time is: 2026-07-01 10:44:42
Your offset time is: 2026-07-01 10:44:42