I'm trying to make a script that so when you press the "Tab" button, a screen comes up showing the players objectives. And once you've completed an objective, that objective checks off.
(As in a new screen comes up when you have completed an objective(s)).
Here's the script so far.
;Partial Script created by: Slient Thunder
;Artificial Intelligence Script
;Header
desc= Hud Show Objectives to call up other screens
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore/huds/objectives.tga,hudname=objectives,hudhide=1,hudmake=display,state=10
:state=10,scancodekeypressed=15:hudshow=objectives,state=4
:state=1:entitytimerstart,state=2
:state=2,entitytimergreater=6000:state=3
:state=3:hudunshow=objectives.tga,state=0
:state=4,cantake:plrdistwithin=1:hudreset,hudx=50,hudy=90,hudimagefine=gamecore/huds/objectives1.tga,state=1
;End of Script
That was what I have so far. Can anyone tell me if I'm doing something wrong? Ohhh, where do I save the finished script to?
I also have some questions.
1= What's an entity timer?
2= What's the difference between a hud and an image?
3= In the 7th line of code when it says "cantake:plrdistwithin=1", does 1 equal true?
4= On what line on the coordinate plane would be line z? (All I know of is x & y)
As time rolls on I'll have more questions.
Any help would be apprecated!!
Thanks
Don't answer #3, I figured it out.
Sean