Fr/ISXWoW:Face (command)

From ISMods Wiki

Contents

Syntaxe

Face [-fast] <X> <Y>

Description

Face une location a travers le temps a moins que la bascule -fast est utilisée. On peut aussi utiliser ${ISXWoW.Facing} pour voir si le mouvement de faire face a été fait.

Examples

  • moveto.iss
function moveto(float X,float Y)
{
  face ${X} ${Y}
  wait 10 !${ISXWoW.Facing}
  wowpress -hold moveforward
  do
  {
    if !${ISXWoW.Facing}
      face ${X} ${Y}
    waitframe      
  }
  while "${Math.Distance[${Me.X},${Me.Y},${X},${Y}]}>1"
  wowpress -release moveforward 
}

function main(float X,float Y)
{
  call moveto ${X} ${Y}
}
  • Face -fast ${Target.X} ${Target.Y}

Voir Aussi