Djinni Wiki
Advertisement

function AddSequenceAttack (string sSeqName, int nAttackNb, int nAttackSubtype, string sAttackName, object oCreature = OBJECT_SELF)

Adds attack to sequence (at the end).

  • Returns 1 on success, 0 on failure (invalid sequence/attack/creature/sequence full).
  • sSeqName: sequence name
  • nAttackNb: 1 (first free)or number of attack in sequence
  • nAttackSubtype: ATTACK_SUBTYPE_NORMAL or ATTACK_SUBTYPE_POWERUP
  • oCreature: creature
  • Return type: int
  • Include file: nwscriptdefn
Advertisement