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 / allies die

Author
Message
creator of zombies
18
Years of Service
User Offline
Joined: 16th Feb 2006
Location: UK: West Wales
Posted: 26th Feb 2006 20:42
hi, i ant 2 know is there a script somewhere on the forum for when u walk into a room you see a guy get killed. because i am making a zombie game i want to do that the player hears a soldiers radio or something and the when he walks into a room he sees a guy get killed. could someone tell me or gimmie a script to do this

thanks

ZOMBIES-THE GAME!!! ps- I gave the demo to my mate and he did'nt sleep for a week
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 27th Feb 2006 00:49


Put this script in a triggerzone and when the player steps into it the friendly character will die.

-Stavros the Zombie Slayer- Coming Summer 2006
creator of zombies
18
Years of Service
User Offline
Joined: 16th Feb 2006
Location: UK: West Wales
Posted: 27th Feb 2006 19:57
do u have to tell the triggerzone what person to kill or does it already know?

ZOMBIES-THE GAME!!! ps- I gave the demo to my mate and he did'nt sleep for a week
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 28th Feb 2006 10:12
I would use a plrdistwithin=x to see if the player is in the room.
Then you don't need a trigger, since the character can trigger himself.
You would need to adjust the distance according to the room.

This would be his AIMAIN...


I tried animationover=x and frameatend=x and framebeyond=x y
None of them worked for me, so I had to use a timer.
That will result in different things depending on computer speed.
I know there is a better way to do this, but this works for now.
Add a sound effect like an explosion and you complete the effect.

Don't forget to visit Conjured Entertainment

Login to post a reply

Server time is: 2024-04-25 22:01:43
Your offset time is: 2024-04-25 22:01:43