deratiseur Posted January 21, 2011 Share Posted January 21, 2011 Hello I try to make a giant trapdoor spider, which launch a pack of web every three rounds. For this, i have made a melee weapon (2D4 + 1D6 poison) (slot 1) and a ranged weapon (0 damage, cast on strike a "one person web), with projectile animation #260 I have wrote many scripts to alternate these weapons (3 rounds the melee, one round the ranged, 3 rounds the melee, and so on...), but no one work, so please, i need you. This is my final try : IF !GlobalTimerNotExpired("strike","LOCALS") See(NearestEnemyOf(Myself)) CheckStat(NearestEnemyOf(Myself),0,WEB) CheckStat(NearestEnemyOf(Myself),0,HELD) !HasItemEquiped("Antiweb",Nearestenemyof(Myself)) THEN RESPONSE #100 SelectWeaponAbility(SLOT_WEAPON1,0) SetGlobalTimer("web","LOCALS",6) Attack(NearestEnemyOf(Myself)) DisplayString(Myself, @54731) // END IF !GlobalTimerNotExpired("web","LOCALS") THEN RESPONSE #100 SelectWeaponAbility(SLOT_WEAPON,0) SetGlobalTimer("strike","LOCALS",18) Attack(NearestEnemyOf(Myself)) END This one doesn't work, of course, and the worst, it break the walk of the creature. Please, help me :-/ Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.