Product Chat / Is it possible to disable the 'head-shot' feature?

Author
Message
lordjulian
10
Years of Service
User Offline
Joined: 10th Jan 2014
Location:
Posted: 16th Dec 2015 17:43
I've got some characters that I want to be invincible. Before the implementation of head-shot kills I simply gave them very high. But the head-shot kill feature seems to override the health.
Julian
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 16th Dec 2015 18:41
find this line in your ai script
Quote: " if string.find(string.lower(g_Entity[e]['limbhit']), "head") ~= nil then"

change "head" to something that wont be used as a limb name i.e.
Quote: " if string.find(string.lower(g_Entity[e]['limbhit']), "no_headshots_detected") ~= nil then"
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11
lordjulian
10
Years of Service
User Offline
Joined: 10th Jan 2014
Location:
Posted: 17th Dec 2015 19:53
Many thanks, SmallG.
Julian
PM

Login to post a reply

Server time is: 2024-05-05 02:19:25
Your offset time is: 2024-05-05 02:19:25