HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: [Resolved] AAS script question.(Doing randome animations.)[Resolved]  (Read 2126 times)

Lunchbox

  • World Owners
  • ****
  • Posts: 136
    • View Profile
    • BrandNGames

How complex is it. I'm looking to do a random animation but I have no idea what is available for me to use in the AAS file code wise.
I'm just looking for a simple random 1,2 if 1 then this animation otherwise the other. Im sure I could try to do something in the controllers and or behave calls in script but was wondering if its possible in the AAScripts.
« Last Edit: Sep 26, 12, 08:42:56 AM by HE-Cooper »
Logged

HE-CHRISTOPHER

  • HeroEngine
  • *****
  • Posts: 424
    • View Profile
Re: AAS script question(Doing randome animations).
« Reply #1 on: Jul 18, 12, 02:54:50 PM »


You would want to use the multiplexor sequence ability (ASQ) which allows the assignment of random weighting between multiple potential sequences with optional filters to limit the choices further.

http://hewiki.heroengine.com/wiki/ASQ#Multiplex
Logged
Christopher Larsen
CTO
HeroEngine

Lunchbox

  • World Owners
  • ****
  • Posts: 136
    • View Profile
    • BrandNGames
Re: AAS script question(Doing randome animations).
« Reply #2 on: Jul 18, 12, 03:07:00 PM »

Ah works perfectly. Thank you.
« Last Edit: Jul 18, 12, 03:16:51 PM by Lunchbox »
Logged