IL-GSC/BO1/PC/ZM/animscripts/traverse/zombie_watervator_400.gsc
2024-02-18 17:32:07 -05:00

43 lines
822 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include animscripts\utility;
#include animscripts\traverse\zombie_shared;
#using_animtree ("generic_human");
main()
{
if( IsDefined( self.is_zombie ) && self.is_zombie )
{
if ( self.has_legs == true )
{
if ( self.animname == "monkey_zombie" )
{
jump_up_monkey();
}
else
{
jump_up_zombie();
}
}
else
{
jump_up_crawler();
}
}
}
jump_up_zombie()
{
traverseData = [];
traverseData[ "traverseAnim" ] = %ai_zombie_watervator_400;
DoTraverse( traverseData );
}
jump_up_crawler()
{
traverseData = [];
traverseData[ "traverseAnim" ] = %ai_zombie_crawl_watervator_400;
DoTraverse( traverseData );
}
jump_up_monkey()
{
traverseData = [];
traverseData[ "traverseAnim" ] = %ai_zombie_monkey_watervator_400;
DoTraverse( traverseData );
}