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

Author Topic: Animation Agent Script Question (Stop or Return)  (Read 2088 times)


  • World Owners
  • ****
  • Posts: 68
    • View Profile
Animation Agent Script Question (Stop or Return)
« on: Dec 06, 12, 09:27:25 AM »

Hi though this is not an HSL question it is code related, I apologise if it is in the wrong section.

Could someone explain the difference between the STOP and RETURN Animation Agent Script keywords.

The documentation simple says that STOP halts execution of the script.

RETURN is not listed as a keyword but I have seen it used in the supplied biped.aas.

Thanking you.



  • HeroEngine
  • *****
  • Posts: 559
    • View Profile
Re: Animation Agent Script Question (Stop or Return)
« Reply #1 on: Dec 11, 12, 03:10:02 PM »

I'm not certain, but based on the usage and comments in the BipedAgent.ass files it appears that "RETURN" will exit the current action, skipping everything else in the action, but continuing with the rest of the script.