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 / Question about the Dark AI

Author
Message
hukuta94
13
Years of Service
User Offline
Joined: 4th Jan 2011
Location: Russian Federation
Posted: 17th Dec 2011 13:42
Hi! have a question. How to make so that the opponent as soon as (a triiger zone) away from the player, set a goal and headed to the player (as well as the allies)?
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 17th Dec 2011 17:08
could you try to reword that? I think you're asking if you can spawn an enemy with a trigger zone

I appear to have burst into flames...
Dark Evenger
14
Years of Service
User Offline
Joined: 27th Apr 2010
Location:
Posted: 17th Dec 2011 17:18
he want to make ennemy go aways from player when he is in trigger zone
hukuta94
13
Years of Service
User Offline
Joined: 4th Jan 2011
Location: Russian Federation
Posted: 17th Dec 2011 17:43
I'll try to explain in detail. I implemented this way: the enemy appeared (using the trigger-zone) and while he his eyes did not see the player \ goal it will attack. And I want to do so, as soon as the enemy appeared, that he would immediately attack the player (it was the goal right away, not after he saw). You know what I want?
I don't know how to do it. I have obtained only if the enemy saw the first goal, and only then began prisledovat \ attack, etc. =(
hukuta94
13
Years of Service
User Offline
Joined: 4th Jan 2011
Location: Russian Federation
Posted: 18th Dec 2011 06:44
Up
Captain Coder
FPSC Reloaded TGC Backer
13
Years of Service
User Offline
Joined: 6th Jul 2011
Playing: Elite: Dangerous
Posted: 23rd Dec 2011 06:34
Try something like this:



These actions should make the character set an enemy as a target and start moving towards him as soon as he is spawned. When he can shoot the target, he will.

Does this work?

Merry Christmas!
Captain Coder

As a believer in Jesus Christ, I am trying to use my passion for game creation for His glory.
TheDesertEagle
13
Years of Service
User Offline
Joined: 7th Jul 2011
Location: Canada - Who knows where else???
Posted: 23rd Dec 2011 23:05
So let me get this strait you want the enemy to take cover then just shoot at the player?

Joey-May god have mercy upon my enemies, because I won't.
Favourite Game-Call Of Duty MW2
newfavo
User Banned
Posted: 2nd Jan 2012 14:15
The perfect poly hit detection doesn't work.
Anyone know a way of having Perfect poly hit, and talking character?


________________
anti virus protection
Captain Coder
FPSC Reloaded TGC Backer
13
Years of Service
User Offline
Joined: 6th Jul 2011
Playing: Elite: Dangerous
Posted: 2nd Jan 2012 20:48
Quote: "The perfect poly hit detection doesn't work.
Anyone know a way of having Perfect poly hit, and talking character?"


I don't. I suggest starting a new thread (look at the bottom of the page for a posting box), you will get a little bit more attention there.

As a believer in Jesus Christ, I am trying to use my passion for game creation for His glory.

Login to post a reply

Server time is: 2024-11-24 01:24:05
Your offset time is: 2024-11-24 01:24:05