Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Simple Script need little help

Author
Message
old_School
15
Years of Service
User Offline
Joined: 29th Aug 2009
Location:
Posted: 16th May 2011 04:01 Edited at: 16th May 2011 04:05


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.
Scientist101
14
Years of Service
User Offline
Joined: 31st Mar 2010
Location: Laboratory
Posted: 17th May 2011 06:57
One thing that I have seen over and over is the syntax format of some scripts. First off, you will need to define your huds in the state=0 lines. I do not know why people always have the urge to define a hud in the middle of a script. Your current syntax is incorrect.

With that said, what you are seeking is very possible with the current scripting. You would define the display hud(s), both the starting one and the updated one. When the player enters the zone, the first hud displays. When they press a key to take the item (if they are to "pick it up") then the first hud disappears and the second hud displays with the "update".
old_School
15
Years of Service
User Offline
Joined: 29th Aug 2009
Location:
Posted: 17th May 2011 23:47
Here is a mockup of what Im reffering too. I need players to start out with a base image showing all the objects to find. As they find the object, the image needs to change/update its self.

Scientist101
14
Years of Service
User Offline
Joined: 31st Mar 2010
Location: Laboratory
Posted: 18th May 2011 05:23
As mentioned in my previous post, it can be done based on the current scripting commands available. I know of a few developments that have this employed and it works very well.
old_School
15
Years of Service
User Offline
Joined: 29th Aug 2009
Location:
Posted: 18th May 2011 06:07
Mk do u ave any suggestions or refference links I can review so I know roughly how to write or rather rewrite my script above to reflect my needs?
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 18th May 2011 23:57
Unhelpful Titles

Please do not simply write "Noob Question", "I am a newb", "One Noobie Question", "A question", "Please help", "This isn't working" or anything similar as the title of your post. We have a search facility, and meaningless titles do not help others find answers to their questions. It will also help you to get quicker responses if people have an idea of your thread content.

Login to post a reply

Server time is: 2024-11-24 08:31:09
Your offset time is: 2024-11-24 08:31:09