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 / Random Enemy Movement...

Author
Message
leon101
16
Years of Service
User Offline
Joined: 9th Aug 2008
Location: Cordell, OK
Posted: 9th Aug 2008 10:43
Is it possible to have an enemy (or enemies) just walk around the level with out any pre set path, you know like having a big bad monster that searches for the player. If you run into it, you have no choice but to run. I want to make a game like that.
Hybrid
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 9th Aug 2008 22:58
You could set up a lot of waypoints that are connected.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 9th Aug 2008 23:36
Yup, that's your best bet. Randomly chosen paths in the script will let them wander around without you telling them exactly where to go.


The one and only,


Whosoever says, "Don't sweat the small stuff," is obviously not a programmer.
Gamer X
16
Years of Service
User Offline
Joined: 1st Feb 2008
Location: Planet X
Posted: 10th Aug 2008 00:42
Here is a bit of info straight from the guide itself.

"Waypointstate=999 means the entity has been placed in zero-waypoint mode where the entity simply ignores waypoints." Official Community Guide for FPSC

having this in the script will just have them freely roam.


looking for an ally script? Then visit http://www.freewebs.com/crazymonkeygamers/
Hybrid
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 10th Aug 2008 00:48
I think that It will make them just stay still.

Gamer X
16
Years of Service
User Offline
Joined: 1st Feb 2008
Location: Planet X
Posted: 10th Aug 2008 00:50
I have used it before and it works.

Plus read the Guide it is in there.


looking for an ally script? Then visit http://www.freewebs.com/crazymonkeygamers/
Hybrid
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 10th Aug 2008 00:52
I must have skipped over it. Both options work fine.

Login to post a reply

Server time is: 2024-11-24 11:46:31
Your offset time is: 2024-11-24 11:46:31