| 
		
			| Re: Custom bodyguard wont respawn [message #52992 is a reply to message #52974] | Wed, 22 July 2009 12:54   |  
			| 
				
				
					|  aapje332 Messages: 18
 Registered: July 2009
 |  |  |  |  
	| That's the problem, that was it all along... 
 I had this:
 
 XXXSectionStart V_BodyGuard;
 
 NewThing AICreature;
 Player 2;
 UID 18446741874686298247;
 DefinitionType "CREATURE_BANDIT_LEADER";
 ScriptName BodyGuard;
 ScriptData "_EVIL2";
 ThingGamePersistent FALSE;
 ThingLevelPersistent FALSE;
 Health 65.00000;
 ObjectScale 1.00000;
 OverridingBrainName "BRAIN_BODY_GUARD";
 HasInformation FALSE;
 WanderWithInformation FALSE;
 WaveWithInformation FALSE;
 ContinueAIWithInformation FALSE;
 RespondingToFollowAndWait TRUE;
 CanBeMarried FALSE;
 CanBeCourted FALSE;
 AllowedToFollowHero FALSE;
 InitialPosX 3323.20000;
 InitialPosY 3566.00000;
 InitialPosZ 39.03424;
 EnableCreatureAutoPlacing FALSE;
 RegionFollowingOverriddenFromScript FALSE;
 HasRelationships FALSE;
 HomeBuildingUID 0;
 WorkBuildingUID 0;
 FatherCreatureUID 0;
 MotherCreatureUID 0;
 SpouseCreatureUID 0;
 StartCTCPhysicsNavigator;
 PositionX 91.20020;
 PositionY 78.00000;
 PositionZ 39.03424;
 RHSetForwardX 1.00000;
 RHSetForwardY 0.00000;
 RHSetForwardZ 0.00000;
 RHSetUpX 0.00000;
 RHSetUpY 0.00000;
 RHSetUpZ 1.00000;
 EndCTCPhysicsNavigator;
 StartCTCEnemy;
 FriendsWithEverythingFlag FALSE;
 EnableFollowersEnemyProxy TRUE;
 FactionName "";
 EndCTCEnemy;
 StartCTCTargeted;
 Targetable TRUE;
 EndCTCTargeted;
 StartCTCRandomAppearanceMorph;
 Seed 430619860;
 EndCTCRandomAppearanceMorph;
 StartCTCEditor;
 LockedInPlace FALSE;
 AttachToGround TRUE;
 Freezed FALSE;
 EndCTCEditor;
 EndThing;
 
 NewThing Marker;
 Player 4;
 UID 18446741778328336486;
 DefinitionType "BASIC_MARKER";
 ScriptName M_BodyGuardRespawn;
 ScriptData "_EVIL2";
 ThingGamePersistent FALSE;
 ThingLevelPersistent FALSE;
 Health 1.00000;
 ObjectScale 1.00000;
 StartCTCPhysicsStandard;
 PositionX 91.20020;
 PositionY 78.00000;
 PositionZ 39.03424;
 RHSetForwardX 1.00000;
 RHSetForwardY 0.00000;
 RHSetForwardZ 0.00000;
 RHSetUpX 0.00000;
 RHSetUpY 0.00000;
 RHSetUpZ 1.00000;
 EndCTCPhysicsStandard;
 EndThing;
 
 XXXSectionEnd;
 |  
	|  |  |