;Created by potatoes
;Header
desc = game conversation
;walk up to an character and he will display 4 messages in a row.
;Triggers
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=languagebank\english\gamecore\huds\Aeralnu\godc.png,hudname=talk1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=languagebank\english\gamecore\huds\Aeralnu\godc2.png,hudname=talk2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=languagebank\english\gamecore\huds\Aeralnu\godc3.png,hudname=talk3,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=languagebank\english\gamecore\huds\Aerlanu\godc4.png,hudname=talk4,hudhide=1,hudmake=display,state=5
:state=5,plrdistwithin=160:rotatetoplr,state=10
:state=10,plrdistwithin=60:rotatetoplr,sound=audiobank\misc\click.wav,etimerstart,state=20
:state=20,plrdistwithin=60:rotatetoplr,hudshow=talk1,hudfadeout=talk1
:state=20,etimergreater=7500:rotatetoplr,sound=audiobank\misc\click.wav,etimerstart,state=30
:state=30,plrdistwithin=60:rotatetoplr,hudshow=talk2,hudfadeout=talk2
:state=30,etimergreater=7500:rotatetoplr,sound=audiobank\misc\click.wav,etimerstart,state=40
:state=40,plrdistwithin=60:rotatetoplr,hudshow=talk3,hudfadeout=talk3
:state=40,etimergreater=7500:rotatetoplr,sound=audiobank\misc\click.wav,etimerstart,state=50
:state=50,plrdistwithin=60:rotatetoplr,hudshow=talk4,hudfadeout=talk4
:state=50,etimergreater=7500:state=60
:state=60,plrdistfurther=60:state=5
;End of Script
Just cleaned it up a bit. But i really doubt the script.
What if the player walks away when state=20 is active? no rules there..
Do you want the script to start over when that happens? or start with state=30 when you return?
Do you want it to start all over again when it finishes the conversation, or destroy itself? Questions, but no answers for the engine.
Added state=5 to give the engine a 50% break for this script.. this way it only checks 1 line (state=5), not 2 lines (original state=10) until you hit the zone.
Just try and answer the questions for yourself and implement in the script. I would add a variable and 'count upwards' with every state, that way one can walk away mid state=30, return and get state=40, convo continues.
And a plrdistfurther for every state, so peeps can walk away.
Grts,
Anubis
-+- There are only 10 types of people in the world. Those who understand binary, and those who don't -+-
[Chipset:X58 CPU:i7.950.64 GPU:HD5970 RAM:12GB DDR3 WIN:7.x64 PRO FPSC:1.20.10]