| 08-25-2004, 10:33 PM | #1 |
i am trying to recreate walking but so far its been futile because the Walk animation just won't play, look at this simple function and please tell me why the walk animation just won't play! Code:
function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing
local integer x = 1
local unit who = CreateUnit(GetTriggerPlayer(), 'Edem', 0, 0, 0)
call SetUnitAnimation( who, "Walk" )
loop
exitwhen x>20
call SetUnitPositionLoc( who, Location(GetUnitX(who)+30,0))
call TriggerSleepAction( 0.00 )
set x = x + 1
endloop
call ResetUnitAnimation( who )
endfunctionA MILLION KISSES TO WHO EVER FIGURES THIS OUT! |
| 08-26-2004, 06:15 AM | #2 |
First you said the Walk anim won't play, then at the end you said stand wouldn't play.. which is it? |
| 08-26-2004, 02:27 PM | #3 | |
Quote:
....walk, its always walk that wouldn't play |
| 08-26-2004, 03:45 PM | #4 |
I think you can't use the walk animation while standing because standing always overrides and cancels the walk animation again. |
| 08-26-2004, 04:35 PM | #5 |
your only choose is mdl editing actually |
