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 / Message Box Script

Author
Message
Notunknown
14
Years of Service
User Offline
Joined: 2nd Feb 2010
Location: I exist only in your mind
Posted: 10th Feb 2010 00:47 Edited at: 10th Feb 2010 00:47
I cannot get this script to work

;Artificial Intelligence Script
;Conjured Objectives

desc = Display Objectives Within Zone
;Triggers

:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore/huds/MovementObjectiveBox.dds,hudname=objectives,hudhide=1,hudmake=display,state=1

:state=1,plrwithinzone=1:state=2

:state=1:hudunshow=objectives

:state=2:hudshow=objectives,state=1

;End of Script


the file directory is
C:/Program Files (x86)/The Game Creators/ FPS Creator X10/Files/gamecore/huds
Vent
FPSC Master
15
Years of Service
User Offline
Joined: 3rd Apr 2009
Location: BC
Posted: 10th Feb 2010 01:22
since its a script it should be in the script bank (right?)


Free FPSC Media Downloads
PW Productions
15
Years of Service
User Offline
Joined: 13th Mar 2009
Location: sitting in a chair.
Posted: 10th Feb 2010 04:43
Aren't you supposed to use '\' instead of '/'? It's been a long time since I've scripted anything, sorry.

New Site is up! Go check it out!
Notunknown
14
Years of Service
User Offline
Joined: 2nd Feb 2010
Location: I exist only in your mind
Posted: 10th Feb 2010 15:49 Edited at: 10th Feb 2010 15:50
probalby
my keyboard dosent have \ and that directory is the image directory
Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 10th Feb 2010 22:41
Well, the copy this:

\

and paste it. It won't work otherwise.

Also, you might want to change the last line to:


:state=2:hudshow=objectives
:state=2,plrwithinzone=0:state=1

"And we played the first thing that came to our heads...Just so happened to be... the best song in the world...

it was the best song in the world..."
wayne davis rocks
16
Years of Service
User Offline
Joined: 10th May 2008
Location: US Liberty In
Posted: 18th Feb 2010 21:46
the script should be in the scriptbank unless otherwise stated in the .fpe file

Wayne Davis Band
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 28th Feb 2010 04:10
This may be what you need.



If you want the hud to only show once when you hit this trigger, then change the last line to read:



Cheers

Mike

Login to post a reply

Server time is: 2024-11-25 01:41:04
Your offset time is: 2024-11-25 01:41:04