ItsMods

Full Version: Elevator stuff
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, OMA

I found this on some old files I have and I decided to release it, Smile . Is not very good because the menu is just a leftover and is incomplete.

Add this in Init():

Code:
precacheMenu( "elevator_floor_selector" );

OMA

How to open the menu and check if you use an option: OMA

Code:
self waittill( "menuresponse", menu, response );
if( menu == "elevator_floor_selector" )
{
    if( response == "none" )
    {
        //give something    
    }
    else if( response == "1" )
    {
        //give something
    }
    else if( response == "2" )
    {
        //give something
    }
    else if( response == "3" )
    {
        //give something
    }
}

IW also left some unused sounds (I remember that all these or mostly all, work):

Code:
elev_bell_ding
elev_musak_loop
elev_door_close
elev_door_open
elev_run_start
elev_run_loop
elev_door_interupt
elev_run_end

About these 3 strings, I never tried them:

Code:
&"ELEVATOR_FLOOR_SELECT_HINT"
&"ELEVATOR_USE_HINT"
&"ELEVATOR_CALL_HINT"

Video about how it looks: OMA



Credits:
@zxz0O0 : he told @Rendflex about this.

OMA
Awesome! have a OMA
Give credits to zxz yamato, he told me and I told you after that Tongue
niceSmile
@zxz0O0 gets credits for telling @Rendflex Huh
(01-26-2012, 21:14)jariz Wrote: [ -> ]@zxz0O0 gets credits for telling @Rendflex Huh

LOL

It was the time when @Yamato and me just started getting into modding, we were total noobs then...
But slowly we mastered the .GSC language.

I sent a PM to @zxz0O0 on youtube about the menu, and he gave me the code, then I gave it to @Yamato .
thanks for the tuto yamato!