Jump to content

Home

possible scripting problem


Totenkopf

Recommended Posts

Trying to rework various npcs such that they can attack you, but having mixed luck, it seems. Have tried various attack scripts (custom and game based via KOTORTool). However, in each case, though the npc will become hostile, it will also try to flee or only fight defensively if cornered. Is there some reason for this or is it just some type of glitch? Have experimented with the female twilek (room) and the quarren (hallway) in the Taris S Apt. section so far. Haven't had trouble, btw, when using custom characters of my own.

Link to comment
Share on other sites

Trying to rework various npcs such that they can attack you, but having mixed luck, it seems. Have tried various attack scripts (custom and game based via KOTORTool). However, in each case, though the npc will become hostile, it will also try to flee or only fight defensively if cornered. Is there some reason for this or is it just some type of glitch? Have experimented with the female twilek (room) and the quarren (hallway) in the Taris S Apt. section so far. Haven't had trouble, btw, when using custom characters of my own.

 

They probably have custom OnSpawn event scripts that set the SW_FLAG_COMMONER_BEHAVIOR spawn-in flag on them. This will make the AI prevent them from engaging in combat and cause them to try to flee from enemies instead.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...