Thanks for reply
Quote: "change the lockeddoor.tga to your requested one (location: Files\gamecore\text)"
Oh I dont have a "text" folder inside the "gamecore" folder! Isn´t that weird, is it?
Sorry, I got lost
,
I opened the doorkey.fpi and this is the code.
;Artificial Intelligence Script
;Header
desc = Key Door (Open 'With Key' and Close)
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\lockeddoor.tga,hudname=keydoorprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=60:hudshow=keydoorprompt,hudfadeout=keydoorprompt
:state=10,plrdistwithin=60,plrhaskey=1,plrusingaction=1:state=1,setframe=0,sound=$0
:state=1:incframe=0
:state=1,frameatend=0:state=2,coloff
:state=2,plrdistfurther=60:state=3,sound=$1,colon
:state=3:decframe=0
:state=3,frameatstart=0:state=10,setframe=0
;End of Script
Reading it I can understand that lockeddoor.tga its the text "you need N key", right?, ok, you know that when you make a entity like a key you can change the name of it, and when you lock a entity like a door with it, you have to put the name of the entity in order to make the other entity (the door) know that it shouldn´t locked anymore if I use it (the key). So I wanna make a scrip that show the name of the entity needed in order to open the locked door, I mean the name I put in the dialoge "AI Automated / Use key= ****"
Again, sorry for my english Im spaniard