View Single Post
Old 03-09-10, 01:17 AM   #7
GermanGS
Sailor man
 
Join Date: Feb 2010
Location: New Jersey
Posts: 49
Downloads: 32
Uploads: 0
Default

strategy CR_CHIEF_NORMAL(wp)
{
precond
{
!Wp:IsCrewState(DMG_TKN|PROX_EXPL|HUNTER|HUNTED) and !(Wp:IsTutorial() and !Wp:IsBunkerState())
}
action
{
Wp:SetBodyPartVisibility("D_Torso01", 0);
Wp:SetBodyPartVisibility("D_Pants01", 0);
Wp:SetBodyPartVisibility("B_Torso03", 1);
Wp:SetBodyPartVisibility("B_Pants03", 1);
Wp:SetBodyPartVisibility("D_Hat02", 1);

if Wp:IsCurrentWaypoint( "CR_CHIEF" ) then
{
Wp:PlayAnimationAndWait( "CR_CHIEF_Idle01" );
Wp:PlayAnimationAndWait( "CR_CHIEF_Talk2HA_01" );
Wp:PlayAnimationAndWait( "CR_CHIEF_Idle02" );
Wp:PlayAnimationAndWait( "CR_CHIEF_Talk2HELM_01" );
Wp:PlayAnimationAndWait( "CR_CHIEF_Idle01" );
Wp:PlayAnimationAndWait( "CR_CHIEF_Talk_VALVE01" );
Wp:PlayAnimationAndWait( "CR_CHIEF_Idle01" );
Wp:Goto("CR_CHIEF_MAP");
}
endif;
if Wp:IsCurrentWaypoint( "CR_CHIEF_MAP" ) then
{
Wp:PlayAnimationAndWait( "CR_CHIEF_MAP_Idle01" );
Wp:PlayAnimationAndWait( "CR_CHIEF_MAP_Idle02" );
Wp:PlayAnimationAndWait( "CR_CHIEF_MAP_Idle03" );
Wp:Goto("CR_LADDER");
}
endif;
if Wp:IsCurrentWaypoint( "CR_LADDER" );

Wp:IsCurrentWaypoint( "SAILOR01_Wait_near_ladder" );
{
Wp:Goto( "CT_ATTAK" );
}
endif;
if Wp:IsCurrentWaypoint( "CT_ATTAK" );
{
Wp:PlayAnimationAndWait( "CT_ATTAK_Idle01" );
Wp:Goto( "CT_STAIRS" );
}
endif;
if Wp:IsCurrentWaypoint( "CT_STAIRS" );
{
Wp:Goto( "CR_CHIEF" );
}
Wp:ScriptCompleted();
}
}



What Am i doing wrong here that the game CTD???

Can anyone figure out???
__________________
GermanGS is offline   Reply With Quote