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 / Basic Walking

Author
Message
PFTLOGLMSGames
12
Years of Service
User Offline
Joined: 19th Aug 2012
Location:
Posted: 26th Aug 2012 01:02
Hey guys, been picking apart scripts to try and find how to make the entity walk towards the player, but im having no luck, here's what I dont get...

I'm using the command 'movetotarget' but for some reason they just walk to a random point on the map, so I assume that is target.

I tried to use the command 'settarget=' and set the target to 'player' is this the right way to go about it, and im getting the player's name wrong, or am I barking up the wrong tree?

Also, I was wondering what the animation frames for 'walking' are, also i keep coming across 'animate=1' and 'animate=2' are these single frames, or are they preset animations using multiple frames?

Thanks in advance!

PleaseForTheLoveOfGodLetMeSleep! Games

Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 26th Aug 2012 03:28
It's fairly easy to explain everything , but this way I kinda kill your chance in deep learning . open scipt files from scriptbank\people and try to figure it out yourself , maybe pace.fpi can help . and read the community guide , you'll find it in your Docs foler in FPSC directory .

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
PFTLOGLMSGames
12
Years of Service
User Offline
Joined: 19th Aug 2012
Location:
Posted: 26th Aug 2012 03:29
Yeah, been playing round with some of the scripts, was looking for more clarification on my third point, do these indicate individual frames, or set animations? Cheers!

PleaseForTheLoveOfGodLetMeSleep! Games

Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 26th Aug 2012 03:37
animate=2 is a whole animation not a frame , and it's for walking , animate=5 is for running .

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
PFTLOGLMSGames
12
Years of Service
User Offline
Joined: 19th Aug 2012
Location:
Posted: 28th Aug 2012 00:45
Awesome, thanks

PleaseForTheLoveOfGodLetMeSleep! Games

Login to post a reply

Server time is: 2024-11-23 22:30:35
Your offset time is: 2024-11-23 22:30:35