Thinking about messing with monster AI so that if a monster sees a PC that has the same appearance type it won't automatically be hostile to it.
Eg: A githyanki character goes to the Astral plane and bumps into some githyanki spawns, they will not attack on sight. However, if the PC attacks they will attack back.
However, two things comes to mind here that are problematic.
1) Hooking into the OnPercieved event... this is one script that should have minimal content in it because when multiple creatures spawn together their perception events fire like crazy. Anyone running a PW who has messed with these scripts and found any performance issues?
2) I think i could do it by setting the monsters faction to a PC neutral one... but then they would be neutral to anyone else in the area.
3) As i understand, the PC faction is kind of a special case. The faction table treats all PCs as the same faction, but in reality, each PC is in their own faction unless partied, in which case they share the leader's PC faction. But then if i set the monsters to the same PC faction as the PC, then they would not be attackable, and additional problem of multiple PCs in the same area with same appearance as the monsters but not partied. Rare situation, but if both PCs were close, then it could cause monsters to flip-flip their factions, running back and forward trying to attack their new enemy, who may become their friend.





Retour en haut






