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 / Finished Walk, Talk, and Walk script for everyones use (and a related question)

Author
Message
mAcpo
16
Years of Service
User Offline
Joined: 3rd Dec 2007
Location: USA
Posted: 21st Dec 2007 01:23
Hello, I modified the talking script so nicely provided by BenjaminA, so credit for the original concept is all his!

Follow waypoints

display a press enter to talk hud when close enough

stop following waypoints when user press enters to talk

displays text image hud and plays audio sound

say 3 different things for 3 times approached, after the 3rd time he will start walking waypoints again.

Example approach once enter (stops walking) "Your new around here right?"

approach again press enter "bet you hate it here"

approach a third time "leave me alone already!" (then starts following waypoints again)



Works perfectly!
One thing I would like if anyone can help.. what can be added to the script so that when the character hits a waypoint, he actually pauses for a few seconds before walking again? This way it will look more like he is just hanging around and not like a mental patient bouncing back and forth

as a side note this script can be easily modified so that you don't have to push enter to make the character stop and talk. If anyone needs code for that, just ask.
mAcpo
16
Years of Service
User Offline
Joined: 3rd Dec 2007
Location: USA
Posted: 21st Dec 2007 03:23
and heres a screenshot of it in action from my game im working on..

Attachments

Login to view attachments
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 21st Dec 2007 18:09
very good, i like how it works........

4\5 stars


mAcpo
16
Years of Service
User Offline
Joined: 3rd Dec 2007
Location: USA
Posted: 21st Dec 2007 21:15
Great!

anyone with tips on how to make a character hit a waypoint, then pauses for a few seconds before moving to the next one?

I hope i'm released from posting restrictions soon
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 23rd Dec 2007 22:50
...nice.


Own It, Or Get Owned...
4thlez Games
16
Years of Service
User Offline
Joined: 2nd Jan 2008
Location:
Posted: 21st Jan 2008 21:13
thats quite neat

Login to post a reply

Server time is: 2024-11-24 01:40:12
Your offset time is: 2024-11-24 01:40:12