OK here is a
easy way to insert all kinds of text on the screen.
I use it to give the player hints or to taunt them or lead them, on the right or wrong path.
I received this from Lee back when 1.8 was being released.
rawtext.fpi
;Artificial Intelligence Script
;Header
desc = Draw text to screen when close enough rawtext.fpi
;Triggers
:plrdistfurther=160:state=0
:plrdistwithin=60,plrfacing:state=1
:plrdistwithin=80,plrfacing:state=2
;Display or hide text based on state
:state=1:fpgcrawtextsize=20,fpgcrawtextfont=arial bold
:state=1:fpgcrawtextr=255,fpgcrawtextg=128,fpgcrawtextb=32
:state=1:fpgcrawtextx=50,fpgcrawtexty=75
:state=1:fpgcrawtext=$0
:state=2:fpgcrawtextsize=30,fpgcrawtextfont=arial bold
:state=2:fpgcrawtextr=255,fpgcrawtextg=128,fpgcrawtextb=32
:state=2:fpgcrawtextx=50,fpgcrawtexty=75
:state=2:fpgcrawtext=$1
;:state=2:setvar=Objective03Complete 1
;End of Script
OK here is how it works.
1. Place a StoryZone
2. In MAIN put rawtext.fpi
3. in Media Audio type in first text
4. In Media Video type in second text
Now when the player is plrdistwithin=60 the first text will show
and plrdistwithin=80 the second text will show.
I added the ;:state=2:setvar=Objective03Complete 1
so I could use it for objectives that must be completed.
suggest you expand the plrdistwithin= settings to suit you and your game. You can also make it show all the time or just once by setting your state.
It works just fine as it is now.
[center]