Jump to content

Home

Invincible NPC's


Andrew1123

Recommended Posts

Hello everyone,

 

I have been browsing the forum and this has not caught my eye. I have been looking for a way to make NPC's invincible in multiplayer. I have tried health 100000000000 and even health -1. All to no avail, what do you think?

 

 

Thanks,

 

Andrew

Link to comment
Share on other sites

No problem, but if you cannot possibly find it FileFront Gaming forums is bigger in the JKA section than LF. If you ask there, you may find qwhat you are looking for.

 

 

Sorry I could not be of much help.

Link to comment
Share on other sites

  • 4 weeks later...

If its in a npc that will be in the level as a non player character (which i'm assuming it is, as an invincible player is a bit nasty for the others) then you can make a script that has SET_INVINCIBLE<BOOL_TYPES>true (you'll find it in BeHaved SET options) then the key: spawnscript and value: <your_script_name> in the entity stuff in Radiant.

 

The script name has to be the name of the .IBI script in the scripts folder of your mod or if your changing the game without making a mod folder in the scripts folder in your base folder although you can make the value point through a folder path within the scripts folder(eg "C:/... ...base/scripts/federation_ship/invincible" would become "federation_ship/invincible"

 

So this would source the file "invincible.IBI" in the folder base/scripts/federation_ship. This script will then affect the entity that started the script (so your npc) and cause it to become invincible.

 

I've used this to make when a droideka in a level is invincible due to its shield or isn't invincible as its shield is down and its running. This is, however, case specific and has to be implemented in each new map - it doesn't apply to the model across the whole game just in the map in which the npc has the spawnscript as a key.

 

This would most proberably be how the mutant rancor in the mutant rancor level is invicible.

Link to comment
Share on other sites

  • 2 weeks later...
  • 5 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...