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 Scripts / Center of Screen Command?

Author
Message
2Beastmode4u
13
Years of Service
User Offline
Joined: 14th Feb 2011
Location: Loading...
Posted: 11th May 2011 16:18
Hey guys. I am almost certain that there is a cenet of screen cammand(like if an entity is in the center of the screen condition) but I cant find it in the manual again. I remember seeing it once. Does anybody know it? Thanks.


Cheers.

God help me, Please.
Ched80
14
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 11th May 2011 17:12
The condition you want is "pickobject=1" this is true is the entity is smack bang in the middle of the screen. pickobject=0 is true is the entity is not in the middle of the screen.

the condition "inview=1" is true if the entity is on screen.

[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]
2Beastmode4u
13
Years of Service
User Offline
Joined: 14th Feb 2011
Location: Loading...
Posted: 11th May 2011 19:25
Thanks.

God help me, Please.
2Beastmode4u
13
Years of Service
User Offline
Joined: 14th Feb 2011
Location: Loading...
Posted: 11th May 2011 19:33
Do you know how to latch a camera onto an entity? Thanks.

God help me, Please.
Ched80
14
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 11th May 2011 20:56
Yep - use "plrpointatobject=x" where x is the vertical offset for the camera. it makes the camera look at the entity calling the action.

[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]

Login to post a reply

Server time is: 2024-11-24 08:23:37
Your offset time is: 2024-11-24 08:23:37