Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Mobius on September 29, 2008, 12:40:34 pm

Title: About Hud SEXPs' arguments. What should I replace <any string> with?
Post by: Mobius on September 29, 2008, 12:40:34 pm
What the title suggests. When I use one of the following SEXPs:

hud-set-text

hud-set-text-num

hud-set-coords

hud-set-frame

hud-set-color

...one of the arguments is the name of a specific HUD gauge. My problem is that, unlikely most SEXPs, these ones don't show the list of HUD gauges so I need to type their name. If I remember well there was one such list elsewhere, but I don't know where at the moment.

Can you please help me? I need the whole list because I need to make changes to all gauges. Thanks in advance. :)
Title: Re: About Hud SEXPs' arguments. What should I replace <any string> with?
Post by: FUBAR-BDHR on September 29, 2008, 01:19:35 pm
I asked about these awhile back.  Don't know if they do anything.  Was told to use scripting instead. 

http://www.hard-light.net/forums/index.php/topic,50942.0.html
Title: Re: About Hud SEXPs' arguments. What should I replace <any string> with?
Post by: Mobius on September 29, 2008, 01:24:25 pm
All I need is a list of names...I'll then verify if the SEXPs work properly...

...HUD gauges should have a name, right?
Title: Re: About Hud SEXPs' arguments. What should I replace <any string> with?
Post by: karajorma on September 29, 2008, 02:15:45 pm
Hmmmm. Maybe I could try figuring out what they are and making FRED give you a list.

Can't promise anything as I have a list of things to do as long as my arm.
Title: Re: About Hud SEXPs' arguments. What should I replace <any string> with?
Post by: FUBAR-BDHR on September 29, 2008, 02:29:46 pm
/me Stretches Kara on the rack

There now your arm's longer so you can add to your list.  :D
Title: Re: About Hud SEXPs' arguments. What should I replace <any string> with?
Post by: karajorma on September 29, 2008, 02:38:14 pm
That just gives me more space to add stuff before this. :p
Title: Re: About Hud SEXPs' arguments. What should I replace <any string> with?
Post by: Mobius on September 29, 2008, 03:24:43 pm
:lol:

Maybe there's a list of gauges in the code?
Title: Re: About Hud SEXPs' arguments. What should I replace <any string> with?
Post by: Aardwolf on September 30, 2008, 02:26:58 am
In the training thing, to flash a hud gauge... doesn't that list them?
Title: Re: About Hud SEXPs' arguments. What should I replace <any string> with?
Post by: Mobius on September 30, 2008, 02:30:32 am
Hey, you're right! I remember it now!

I'll check it later, as soon as I get home. :)
Title: Re: About Hud SEXPs' arguments. What should I replace <any string> with?
Post by: karajorma on September 30, 2008, 02:32:22 am
That's the thing. I've never been entirely certain if those are the only ones that work with the SEXP.
Title: Re: About Hud SEXPs' arguments. What should I replace <any string> with?
Post by: Mobius on September 30, 2008, 02:41:25 am
HUD SEXPs should use that list for argument replacement...