can someone help me with a problem in the tutorial
whan i add this this:
IdleAnimationState ;BeginScript ; Prev = CurDrawablePrevAnimationState() ; if Prev == "BeingConstructed" then ; Don't play completed sound when canceling build-in-progress or when ; destroyed halfway ; if not CurDrawableModelcondition( "DYING" ) then ; CurDrawablePlaySound("CampSoldierCompleteGeneric") ; end ; end ;EndScript End
it will given an error: unknown block "IdleAnimationState"
pls someone help me again
2playedit: added code tags. please do it yourself next time
Edited by 2playgames, 28 September 2006 - 08:16 PM.