Hey!
So I'm really new to scripting and so far i've made a script that is triggered by a trigger zone and displays on screen text and then when the player leaves the zone, the text disappears. However, I want to change it so that it does the following:
- When enter the zone, 'Objective Completed' shows and plays a sound.
- After 3 seconds that text disappears and 'New Objective: Blah' shows for 5 seconds and a sound plays.
I have no idea how i'd do it, completely new
My Script so far:
;Artificial Intelligence Script
;Created by Wheatleyy
;Header
;Desc = FPSC Text
;Triggers
:state=0:state=1
TEXT
:state=1,plrwithinzone=1:fpgcrawtextsize=56,fpgcrawtextfont=Trebuchet
MS,fpgcrawtextr=255,fpgcrawtextg=255,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=90,fpgcrawtext=Objective: Make your way to the armoury. ,state=2
:state=2,plrwithinzone=1:fpgcrawtextsize=56,fpgcrawtextfont=Trebuchet
MS,fpgcrawtextr=255,fpgcrawtextg=255,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=90,fpgcrawtext=Objective: Make your way to the armoury.
;DESTROY
:state=2,plrdistfurther=60:state=10
:state=10:destroy
;End Of Script
Cheers,
Wheatleyy
THIS IS A SIGNATURE... TRUST ME... IT IS!