Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: actor.WalkAnimName  (Read 3231 times)

0 Members and 1 Guest are viewing this topic.

Maidnet

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 50
    • View Profile
actor.WalkAnimName
« on: June 19, 2008, 11:28:52 PM »

Hi!
I'm have a little problem with this command...

I'm a 2d actor.  I am trying to programme an event "LeftDoubleClick", in order that on having "double clicked", the actor is running instead of being walking.

I have read in the wme's documentation that the command for this function is the command actor.WalkAnimName. But not to be in use it ??? ???

I do not also deal like and in that file I have to place the ANIMATION definition. ¿in the actor.actor? ¿in a Entity file?. I am very clogged by this, and do not understand the documentation well.

Summarizing: how is command actor.WalkAnimName in use for this action????

I'm need help!!!  ::slug ::slug



A lot of Thanks!!!
« Last Edit: June 19, 2008, 11:53:34 PM by Maidnet »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: actor.WalkAnimName
« Reply #1 on: June 20, 2008, 07:01:21 AM »

The format of the .actor files changed in recent WME versions. You can now define any number of animations in the file with custom names. If you install the latest WME version, see the WME Demo project and open molly.actor file to see an example. By setting the actor.WalkAnimName property, you can say which of those animations should be used for actor's walking.

This will NOT work if your .actor file uses the old format. You'll need to convert it to the new format to take advantage of the new features.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Maidnet

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 50
    • View Profile
Re: actor.WalkAnimName
« Reply #2 on: June 20, 2008, 05:04:23 PM »

OK!! Thanks!!

Already I have achieved that it works!!

The PANGEA project is coming... soon...
Logged
 

Page created in 0.045 seconds with 23 queries.