Les modeurs fous de chez WIWI se sont penchés sur ton PB et ont trouvé une solution:
1. Tu defini un activateur avec comme NIF le NIF du Guard ( je crois r\GUARD.NIF)
2. Tu lui ajoutes le script suivant:
begin testFloat
float timer
float swingTime
float swingSpeed
float startAngle
; Important c´est ce qui elimine l´animation de base du NIF
LoopGroup KnockOut, 2, 2
SkipAnim
set startAngle to GetStartingAngle, x
if ( MenuMode == 0 )
set swingTime to 1
set timer to ( timer + GetSecondsPassed )
if ( timer < swingTime )
Rotate x,2
elseif ( timer < ( swingTime * 3) )
Rotate x, -2
elseif ( timer < ( swingTime * 4 ) )
Rotate x, 2
else
set timer to 0
SetAngle, x, startAngle
endif
endif
end testFloat
3. Tu positionne ton Guard activator dans l´eau ( faut que l´eau soit plus profonde que le guard bien sûr)
4. Eventuellement tu regles la vitesse d´animation du flottement en modifiant le script.
Amuses toi bien.