SWBF CUSTOM

The best way to custom your games.
 
HomeFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 [SOLVED]More trouble with Animations

View previous topic View next topic Go down 
AuthorMessage
bonecrusher16O
Lance Corporal
Lance Corporal
avatar

Messages : 35
Registration Date : 2011-07-08

PostSubject: [SOLVED]More trouble with Animations    4/8/2012, 7:02 pm

Ok, so I set a system up where you kill "wpanel" and it makes a door go up. However, during testing, I was unable to get it to work.
Here is the script functions I have for it.
Spoiler:
 


I have tested the Animations useing both Zero Edit and Code Consule in game. Any suggestions to what is wrong?
Back to top Go down
View user profile http://megamods2.webs.com
The Outrider
Lance Corporal
Lance Corporal
avatar

Messages : 36
Registration Date : 2011-01-15
Location : USA

PostSubject: Re: [SOLVED]More trouble with Animations    4/9/2012, 1:42 am

Code:
doorup = OnObjectKill(
  function(object, killer)
      if GetEntityName(object) == "wpanel" then
        PauseAnimation("wru")
        RewindAnimation("wrd")
        PlayAnimation("wrd")
      end
  end
)

doordown = OnObjectRepair(
  function(object, repairer)
      if GetEntityName(object) == "wpanel" then
        PauseAnimation("wrd")
        RewindAnimation("wru")
        PlayAnimation("wru")
      end
  end
)
Source: http://www.gametoast.com/forums/viewtopic.php?f=27&t=12473
Back to top Go down
View user profile
bonecrusher16O
Lance Corporal
Lance Corporal
avatar

Messages : 35
Registration Date : 2011-07-08

PostSubject: Re: [SOLVED]More trouble with Animations    4/9/2012, 3:33 pm

Ok Thx, i'll try this.
Back to top Go down
View user profile http://megamods2.webs.com
Sponsored content




PostSubject: Re: [SOLVED]More trouble with Animations    

Back to top Go down
 

[SOLVED]More trouble with Animations

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» FNV Cool Modern Weapon Animations
» Best walking/running/standing animations replacement
» Trouble with Muggers
» Animations?
» Help.....! -SOLVED- (please lock?)

Permissions in this forum:You cannot reply to topics in this forum
SWBF CUSTOM :: Star Wars Battlefront Games :: Modding-