Scripts / Behavior of enemies on raised places

Author
Message
Enzo1400
6
Years of Service
User Offline
Joined: 26th Jul 2018
Location:
Posted: 5th Jan 2020 18:41
Hello to everybody,

I don't know if this is the right section for this thread. However, I would like to know how it is possible to place one or more enemies on raised places with attacking behavior. In pratice, the enemy can attack the player if he's approaching for example a tower or a house on which the enemy is standing. I've noticed that sometimes the enemy or doesn't do anything or he jump down to the ground. Is it possible to make he shooting to the player if he approaches, without the enemy jump down? Is enough to select the right behavior in the enemy's entity proprierties?

Thank you in advance
PM
JC LEON
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 5th Jan 2020 18:53 Edited at: 5th Jan 2020 18:54
use floor zones


PC 2 Specs:
AMD RYZEN 2600 SIX CORE @3,70, 64GB RAM DDR4 2400, M/B GIGABYTE AX370
SVGA NVDIA 1660GTX 6GB , SSD M.2 TRANSCEND S110 1TB, 1X HDD SEAGATE BARRACUDA 4TB, 1X HDD TOSHIBA 2TB


PC 2 Specs:
AMD QUADCORE 880K @4.5GHZ, 32GB RAM DDR3 1600, M/B ASUS A88XM-PLUS
SVGA RADEON R9 380 4GB , SSD KINGSTON A400 1TB, 2X HHD SEAGATE BARRACUDA 4TB
PM
bluemeenie195
6
Years of Service
User Offline
Joined: 28th Oct 2018
Location:
Posted: 5th Jan 2020 20:01
AmenMoses, and smallg made some great scrips for that too.

Attachments

Login to view attachments
PM
Enzo1400
6
Years of Service
User Offline
Joined: 26th Jul 2018
Location:
Posted: 6th Jan 2020 13:39
Thank you very much, I will try to do this
PM
bluemeenie195
6
Years of Service
User Offline
Joined: 28th Oct 2018
Location:
Posted: 7th Jan 2020 19:14
I just re-uploaded smallg's sniper3 script. The original one I uploaded was a custom one for my game and might not work for your needs.

for this script you will need 3 sounds for the gun.

If I remember right it's

sound slot 1 for shot sound
sound slot 2 for miss sound
sound slot 3 for hit sound

Attachments

Login to view attachments
PM

Login to post a reply

Server time is: 2024-12-22 09:04:05
Your offset time is: 2024-12-22 09:04:05