Scripts / Increase or decrease Enemy health

Author
Message
Tomik18
GameGuru TGC Backer
15
Years of Service
User Offline
Joined: 8th May 2009
Location: Slovakia
Posted: 30th Sep 2018 12:05
Hello,

How can i increase or decrease Enemy health ?
My PC specs: AMD FX 4300 3,80 Ghz
R9 280 3GB
8 GB RAM
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 30th Sep 2018 12:17
Chwnge their strength value in properties

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 30th Sep 2018 12:49
From a script you can use the SetEntityHealth( e, v ) command. Not sure if the new ai modules control the health though, it might just get overwritten if you are using them.
Been there, done that, got all the T-Shirts!
PM

Login to post a reply

Server time is: 2024-12-22 20:55:34
Your offset time is: 2024-12-22 20:55:34