QUOTE (Oberon @ May 07, 2006 05:56 pm) |
Thank you, and could you explain me meaning a "serial" property? Is it a serial number of spawner? If it is, what is a correct format of this serial number? I have a serial number in this format (I) 0x4058168A |
QUOTE (Oberon @ May 08, 2006 01:22 am) |
Thank you wery much, now is working perfect. And i have once more question. How i make a NPC on mount, which will running when hi will attack on a player. I have try set Active and Passive speeds on NPC and on mount, but its doesnt work correct. Mount with NPC going faster, but not running. And i dont know why, but mount under NPC sometimes blink (despawn and respawn) for one second cca. It isnt a big problem, but it doesn't look good. Thank you for answer. |
QUOTE |
if ( MoveTo( combatant, true, m_Mobile.RangeFight ) ) { m_Mobile.Direction = m_Mobile.GetDirectionTo( combatant ); // ARTEGORDONMOD // make mounted creatures run while fighting if (m_Mobile.Mounted) m_Mobile.Direction |= Direction.Running; } |
QUOTE |
// ARTEGORDONMOD // no fidgeting while mounted if (Body.IsHuman && !Mounted) { switch (Utility.Random(2)) { case 0: Animate(5, 5, 1, true, true, 1); break; case 1: Animate(6, 5, 1, true, false, 1); break; } } |
QUOTE (Oberon @ May 08, 2006 07:58 am) |
OK thank you. I have one last question. How i spawn more then one NPC on mount in one subgroup? Is it possible? |