Does anyone here know how do you make an NPC immune to some, or all force powers? Any help would be much appreciated :D
take a look at the .npc files for the rockettroopers, robots, kyle, dessann etc.
I think it involves classes. Set the class to CLAS_DROID (I think) and you won't be able to use mind trick or grip on it, I believe.
I don't think looking in the files of those other npcs will help.
Try looking at galak mech files. (The assassin droid from SP)
But if i set it to a class_droid it wont attack me will it?
It'll attack you. CLASS_DROID has nothing to do with attacking the player or not, I believe. You could try using CLASS_INTEROGATOR or CLASS_ASSASSIN DROID, or any of the other classes that droid npcs use. I think it might make them take more damage from the DEMP 2, though.