;Artificial Intelligence Script
;Header
desc = Display Image
;Triggers
:state=0,plrwithinzone=1:activateifused=1,state=1
:state=1,plrwithinzone=1:hudreset,hudx=50,hudy=80,hudimagefine=gamecore\huds\childrensmessages\Message1.dds,hudname=Display1,hudhide=1,hudmake=display,state=10
:state=10:timerstart,hudshow=Display1,sound=audiobank\messagebeep\messagebleep.ogg,state=11
:state=11,timergreater=10000:hudfadeout=Display1,state=0
;End of Script
Ok so what I want this to do is fairly sipmple. First thing, I need it to never disappear when the player is in the zone area. Next I need it if possiable to update its self if the player picks up a item on the list on the display. Basicly if the player pickups a item he needs then the image will update the hud to a new hud image. If thats possiable.Not sure how to perform a if statement using DB. If a IF statement was apart of the lang it would make my life easier then I could just tell it If player has item x return display y else return display x or something like that.