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 / Guard Script

Author
Message
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 31st Dec 2007 02:48 Edited at: 14th Nov 2008 00:26
I was making a script where guards would follow a waypoint and when the player comes in it would walk towards the player and the player would die. The problem is it doesn't work. The guard will not stop following the waypoint and it completly ignores me.

Here's the script:



Snipesoul
17
Years of Service
User Offline
Joined: 29th Aug 2007
Location: Somewhere in New York...
Posted: 31st Dec 2007 03:28
Here's an edited script. Try it out and see if it will work:



Hope this will work.

Snipe to Success
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 31st Dec 2007 17:00 Edited at: 14th Nov 2008 00:26
Thanks Snipesoul it works except for one small factor.

When I get "caught" could I make it so he runs at me?

But besides that it is good.

Thanks.

Snipesoul
17
Years of Service
User Offline
Joined: 29th Aug 2007
Location: Somewhere in New York...
Posted: 31st Dec 2007 17:10
Yes, you can make it so he runs to you. I'll re-edit it now.

Snipe to Success
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 31st Dec 2007 20:12 Edited at: 14th Nov 2008 00:26
Did you make him go faster when coming at you? I can't tell.

Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 31st Dec 2007 20:19 Edited at: 16th Mar 2008 22:20



EDIT:

@Snipesoul,

...too damn tired for words.

ARE YOU A LONE WOLF? CLICK BELOW TO JOIN THE PACK.

Snipesoul
17
Years of Service
User Offline
Joined: 29th Aug 2007
Location: Somewhere in New York...
Posted: 31st Dec 2007 23:13
Seth, what's with the one smiley? You could have at least expressed what you were saying in words

Anyway, sorry for the wait sps999. Here's the new re-edited script. Any more problems? Just let me know.



Snipe to Success
Violent Pigeon
16
Years of Service
User Offline
Joined: 30th Dec 2007
Location: London, Great Britain
Posted: 2nd Jan 2008 00:58
Hi, i was just wondereing would it be ok if i could use this script in my game?

you would be given recognition for it, its just we dont currently have a scripter and we needed a guard script. if not then i will keep looking.

Thanks

VP Studios

A Violent Pigeon is a good Pigeon.
Changes
17
Years of Service
User Offline
Joined: 7th May 2007
Location: Scotland
Posted: 16th Mar 2008 14:56
you could make him emit a sound like get back here! and shoot if possible. well il try to edit it my self thanks for the code dude.

jamie
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 16th Mar 2008 15:02
3 month bump.....

Jesper
17
Years of Service
User Offline
Joined: 14th Oct 2007
Location: Hämeenlinna
Posted: 19th Mar 2008 17:35
How i can make text files to scripts?

''BUM Headshot!!!''
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 2nd Apr 2008 23:46 Edited at: 14th Nov 2008 00:29
type the extension .fpi at the end of the file name, replacing .txt

Sorry about the 2 week bump, just felt I should answer his question. (If he still needed to be answered in 2 weeks)

Login to post a reply

Server time is: 2024-11-24 05:31:25
Your offset time is: 2024-11-24 05:31:25