Custom bodyguard wont respawn [message #52974] |
Wed, 22 July 2009 06:55 |
aapje332
Messages: 18 Registered: July 2009
|
|
|
|
Well, I used this tutorial: http://forums.projectego.net/your-own-personal-body-guard-22 49/ It works perfectly, but the bodyguard doesnt respawn again after use...
NewThing AICreature;
Player 2;
UID 18446741874686298247;
DefinitionType "CREATURE_BANDIT_LEADER";
ScriptName BodyGuard;
ScriptData "_EVIL2";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsNavigator;
PositionX 91.200200;
PositionY 78.000000;
PositionZ 39.034240;
RHSetForwardX 1.000000;
RHSetForwardY 0.000000;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsNavigator;
StartCTCRandomAppearanceMorph;
Seed 430619860;
EndCTCRandomAppearanceMorph;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCTalk;
EndCTCTalk;
StartCTCEditor;
AttachToGround TRUE;
EndCTCEditor;
StartCTCVillageMember;
VillageUID 0;
EndCTCVillageMember;
StartCTCContainerRewardHero;
EndCTCContainerRewardHero;
StartCTCEnemy;
FriendsWithEverythingFlag TRUE;
EnableFollowersEnemyProxy TRUE;
FactionName "";
EndCTCEnemy;
Health 60.0;
OverridingBrainName NULL;
HasInformation FALSE;
WanderWithInformation FALSE;
WaveWithInformation FALSE;
EnableCreatureAutoPlacing FALSE;
AllowedToFollowHero TRUE;
RegionFollowingOverriddenFromScript FALSE;
RespondingToFollowAndWait TRUE;
CanBeCourted FALSE;
CanBeMarried FALSE;
InitialPosX 0.0;
InitialPosY 0.0;
InitialPosZ 0.0;
EndThing;
Thanks in advance!
|
|
|