Fr/ISXWoW:Face (command)
From ISMods Wiki
Contents |
[edit]
Syntaxe
Face [-fast] <X> <Y>
[edit]
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.
[edit]
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}
[edit]
