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 / Need help with a radar script

Author
Message
Slaur3n
16
Years of Service
User Offline
Joined: 16th Sep 2008
Location: Norway
Posted: 15th Oct 2012 02:14
Im using Scene Commanders radar script. In game the radar is on the right side, i want it on the left side. Ive tried to put this ":state=0:radaronx=10,radarony=90" in the radaron script , but it dosent work..

Can somebody help?
D0MINIK
15
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 17th Oct 2012 13:22
RadarOn=X is a script action that controls whether the radar is shown or not.

RadarX= and RadarY= are the actions that define where the radar is displayed.

Slaur3n
16
Years of Service
User Offline
Joined: 16th Sep 2008
Location: Norway
Posted: 17th Oct 2012 18:18
thanks! but now i have a problem, i cant get the radar or the compass up.. i put the script in the main in trigger zone? right?

Do you have any other solution, or can you tell me what to do step by step? All i need is a freakin` radar
maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 18th Oct 2012 16:46 Edited at: 18th Oct 2012 16:57
http://forum.thegamecreators.com/?m=forum_view&t=180924&b=23

script syntax list: all (!) scriptcommands in one list.

radar-commands on page 103, the right spelling (as dominik said) is "radarx=" and "radary=".

Quote: "3.12.2.46 RADARX=X
Description: This sets the position of the radar HUD as a percentage of the screen’s width.
Range: X = 0 to 100
Example: :state=0:radarx=50
3.12.2.47 RADARY=X
Description: This sets the position of the radar HUD as a percentage of the screen’s height.
Range: X = 0 to 100
Example: :state=0:radary=50"


the script would be:



gz

Slaur3n
16
Years of Service
User Offline
Joined: 16th Sep 2008
Location: Norway
Posted: 19th Oct 2012 01:10
Thanks you very much! Works like a charm

Login to post a reply

Server time is: 2024-11-23 19:30:01
Your offset time is: 2024-11-23 19:30:01