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 / how to let enemy shoot me when ..

Author
Message
ghaaliove
18
Years of Service
User Offline
Joined: 18th Nov 2006
Location:
Posted: 22nd Nov 2006 16:54
Hello all !
...
How can i let the distant enemy shoot me if i lost his kill?
example: i want to snipe one enemy which is distant from me, if the shoot dosn't heat it he will shoot me directly.
...
Thanks


software&design
filya
18
Years of Service
User Offline
Joined: 23rd Aug 2006
Location: USA
Posted: 22nd Nov 2006 17:15
a long method to do this :

1. Place a invisible dynamic wall entity (strenght=100)behind the enemy.
2. The script for that entity would somewhat be:

3. Script the enemy such that if he dies, the wall entity is destroyed with him.


This is just out the top of my head.
I am sure someone here will come up with a more efficient method.

-- game dev is fun...but taking up too much time --
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 22nd Nov 2006 17:38
Moving to the Scripts forum.

ghaaliove
18
Years of Service
User Offline
Joined: 18th Nov 2006
Location:
Posted: 23rd Nov 2006 16:11
Thanks you

software&design

Login to post a reply

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