This script works great for displaying ONE image, How ever when I put two or more Light Switches it will only show the same Image over and over again.
I changed the hudname=to uses2 to uses4 in the lightswitch\'s then edited the scripts to reflect the same, and in the hudimagefine=gamecore\\huds\\info1.dds I changed each image file
to info2.dds info3.dds etc, then in the *.fpi files i named them info1.fpi to info4.pfi. I can not figure out why the other 3 images will not display.. Any advice please?
Meows
;Assign this script to the entity\'s ai main field;
desc = Show Picture (activate upon use)
:state=0:hudreset,hudimagefine=gamecore\\languagebank\\english\\gamecore\\text\\pressentertouse.dds,hudname=useswitchprompt,hudhide=1,state=10
:plrdistwithin=50:hudshow=useswitchprompt,hudfadeout=useswitchprompt
:state=10:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\\huds\\info1.dds,hudname=helphud,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=50,plrusingaction=1:state=2,hudshow=helphud
:state=2,plrusingaction=0:state=3
:state=3,plrdistwithin=50,plrusingaction=1:state=4,hudunshow=helphud
:state=4,plrusingaction=0:state=1
;For \"userimage\" put the image you want to appear in the hud, in the gamecore\\huds folder.
;Obviously you need to create the image you\'re going to use, in something like Paint.net or Gimp.
;You can apply this script to any entity you want, the only thing that matters is placing the corresponding \"userimage\" in the huds folder.
Life is a short trip to another world