Right, I'm now trying my hand at scripting
without just copying and pasting other peoples (sinks in better if i have to work harder) but I'm having a bit of trouble (figures
)
I want an pic of a note to appear when the player is within a certain distance of an object. Here's the code I have:
;Header
desc = My Own HUD
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=MyStuff\Note.tga,hudname=myownhud,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=50:hudshow=myownhud,state=2
:state=2,plrdistfurther=100:hudunshow=myownhud,state=1
;End of Script
But the note isn't showing. Do the files [shownote.fpi, note.tga] have to be in a certain folder? I've created my own folder in Files called 'Mystuff' which holds those two files. I didn't want to scatter my files into different folders if I could help it.
Does the code look right?