SWBF CUSTOM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

SWBF CUSTOM

The best way to custom your games.
 
HomeLatest imagesSearchRegisterLog in

Share
 

 [SOLVED]More trouble with Animations

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

Messages : 35
Registration Date : 2011-07-08

[SOLVED]More trouble with Animations  Empty
PostSubject: [SOLVED]More trouble with Animations    [SOLVED]More trouble with Animations  I_icon_minitime4/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
http://megamods2.webs.com
The Outrider
Lance Corporal
Lance Corporal
The Outrider

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

[SOLVED]More trouble with Animations  Empty
PostSubject: Re: [SOLVED]More trouble with Animations    [SOLVED]More trouble with Animations  I_icon_minitime4/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
bonecrusher16O
Lance Corporal
Lance Corporal
bonecrusher16O

Messages : 35
Registration Date : 2011-07-08

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

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




[SOLVED]More trouble with Animations  Empty
PostSubject: Re: [SOLVED]More trouble with Animations    [SOLVED]More trouble with Animations  I_icon_minitime

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

-
» [SOLVED]Trouble with animated doors
» [solved]Energy Bar
» [solved][Help]Droideka Changes
» [Solved]Map Variants
» [SOLVED]Portals?

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