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 / Fenix mod question

Author
Message
ArcGames
14
Years of Service
User Offline
Joined: 26th Jul 2010
Location:
Posted: 2nd Aug 2010 09:51
I truly do not understand how to use this condition from the Fenix Mod, can anyone please explain it a little better? It confuses me because of there being an X and Y....

Quote: "hudclicked=x y -checks if the hudname specified by x has been clicked (y=1 and hud clicked then will return true. y=0 and hud not clicked then will return true)"


Can you show me a short example of it in use?
Gencheff
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 2nd Aug 2010 12:03
tc..the explenation given is good enough(atleast for me...).But if you really can't I'll try to explain it again.

hudclicked is a condition.In other words it stays between 2 colons (::)

x is the name of a previously stated hud image
hudname=something in a previously stated hudimage.


y is either 0 or 1.If its 1 it means that it checks if you CLICKED the hud.If its 0 it means it checks if you're not clicking it.

example : :hudclicked=something 1:do something(like drop weapon...)



Login to post a reply

Server time is: 2024-11-24 21:33:49
Your offset time is: 2024-11-24 21:33:49