Off Topic / Game Guru

Author
Message
Kye7
5
Years of Service
User Offline
Joined: 29th Jan 2019
Location:
Posted: 30th Jan 2019 00:30
How do I give an NPC god mode, I made an NPC I don't want the player killing and gave him 1000000 strength but he still gets one hit killed by the player
PM
Jerry Tremble
GameGuru TGC Backer
11
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 30th Jan 2019 01:31 Edited at: 30th Jan 2019 01:35
I think 0 is actually invincible.


EDIT: 0 is SUPPOSED to be invincible (says so in properties panel), however, I just tried it and he died right away, lol.
Desktop: i7 4770@3.4Ghz (passmark 9809), 12GB RAM, Win 10/64, GeForce GTX 1080 (passmark 12006), 1TB SSD, 1TB HDD; Laptop: i7 4800MQ@2.7Ghz, 16GB RAM, Win 10/64, GeForce GTX870M , 1TB SSD.
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 30th Jan 2019 01:34
That's what I thought but it seems not since the AI update … 10000 seems to work ok..
Perhaps there a cap limit on that and you would need to edit the scripts ?
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 6th Feb 2019 15:27
It'll be a headshot killing him, you'll need to edit the script to remove the code that checks for it (search for limb or "head")
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11

Login to post a reply

Server time is: 2024-04-25 06:43:12
Your offset time is: 2024-04-25 06:43:12