HeroEngine Forums

HeroEngine Support => Art & Art Pipeline => Animation => Topic started by: OurLord on Dec 06, 12, 09:27:25 AM

Title: Animation Agent Script Question (Stop or Return)
Post by: OurLord 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.

Richard
Title: Re: Animation Agent Script Question (Stop or Return)
Post by: HE-BENNETT 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.