Difference between revisions of "Questions"
Jump to navigation
Jump to search
→Necromancers Yielding
imported>Joshua Boniface |
imported>Joshua Boniface |
||
Line 10: | Line 10: | ||
:::Yielding only works if the NPC would not normally attack you. So, you probably want to increase the necromancer's disposition to the player and/or reduce his aggression when the player yeilds. Alternatively, try setting the necromancer up as non-hostile in the editor (lower his aggression) and give him a script to startCombat when the player gets within a certain distance; since in this case he wouldn't normally attack you, yielding will probably work. [[User:Scruggs|Scruggs]] 11:55, 8 October 2006 (EDT) | :::Yielding only works if the NPC would not normally attack you. So, you probably want to increase the necromancer's disposition to the player and/or reduce his aggression when the player yeilds. Alternatively, try setting the necromancer up as non-hostile in the editor (lower his aggression) and give him a script to startCombat when the player gets within a certain distance; since in this case he wouldn't normally attack you, yielding will probably work. [[User:Scruggs|Scruggs]] 11:55, 8 October 2006 (EDT) | ||
::::--[[User:Joshua Boniface|Joshua Boniface]] 11:58, 8 October 2006 (EDT): Alright, thanks a lot! This was driving me crazy! Update: I'm still having some problems. My script is below. I basically just want the necromancer to yield to the player if the player's infamy is higher than their fame. This script however is failing miserably. Mainly, the necromancer yields but then immediately begins fighting again. The necro's aggression is at 50. | ::::--[[User:Joshua Boniface|Joshua Boniface]] 11:58, 8 October 2006 (EDT): Alright, thanks a lot! This was driving me crazy! Update: I'm still having some problems. My script is below. I basically just want the necromancer to yield to the player if the player's infamy is higher than their fame. This script however is failing miserably. Mainly, the necromancer yields but then immediately begins fighting again. The necro's aggression is at 50. The OnActivate is used only because there is no "OnYield" or anything like that, and this is the closest thing I can find. | ||
scriptname NecromancerCombatScript | scriptname NecromancerCombatScript |