Hi
I've made my first script and i want to give it to the community beacuse it helped me too much
It's a script for read a note, just desing your note in gimp or photoshop, save it as .tga format in "languagebank\english\gamecore\text" as "note", then put this script to the entity you want to use as a note,now in your game, when you use the entity, the note will be displayed on the screen
Here the script
;Artificial Intelligence Script
;Header
desc = Read Note
;Triggers
:state=0:state=1
:state=1,plrdistwithin=60,plrusingaction=1:activate=1,state=2
:state=2,activated=1:hudreset,hudx=50,hudy=60,hudimagefine=languagebank\english\gamecore\text\note.tga,hudname=myownhud,hudhide=1,hudmake=display,state=3
:state=3:hudshow=myownhud,state=4
:state=4,plrusingaction=0:activate=0,state=5
:state=5:hudunshow=myownhud,state=1
;End of Script
Enjoy
EDIT: The entity must be dynamic!
-Why didn't God take gaga,justin bieber or kesha instead of Randy Rhoads, Cliff Burton or Dio?