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 / Hud selection in ply's mod (or PB mod) how it works?

Author
Message
Bibo4PC
16
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 21st Aug 2009 10:09
Hi,
I've noticed that the hud selection in ply's mod (or PB mod) is not covered in the Mod manual, anyone has any idea how it works?
Thank You..

Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 21st Aug 2009 14:11 Edited at: 21st Aug 2009 14:27
Pretty simple. Just add your hud. Then as condition, imagine your hud is called myhud. Then you do as condition:

:state=0,hudselectionmade=myhud:destroy

That is it,

Red Eye


Bibo4PC
16
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 21st Aug 2009 14:22
Thank You

Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 21st Aug 2009 14:27
EDITED

and np


Bibo4PC
16
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 21st Aug 2009 15:27
btw for anyone else wanting to use this.. the hudmake must be set to button and (lol) is the hudtype not hudname

Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 22nd Aug 2009 12:12
Hmmm...


Bibo4PC
16
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 22nd Aug 2009 13:09 Edited at: 22nd Aug 2009 13:10
I figured it out from the titlepage script file after u pointed out the hudselection made command..

Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 22nd Aug 2009 15:41
Alright...


A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 28th Nov 2009 11:11
Is it possible to select the hud selection? I select my hud which gives a cirtain weapon and then it wont de-select and just loops giving that weapon. Is there a command like sethudselection=0?

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 28th Nov 2009 23:41
The hud selection should reset after returning true. Which is why save games don't constantly try to save. Perhaps there is another problem with your script?


The one and only,


Login to post a reply

Server time is: 2024-11-25 05:16:15
Your offset time is: 2024-11-25 05:16:15