Aller au contenu

Photo

Script not firing


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
AnnoyingDisplayName

AnnoyingDisplayName
  • Members
  • 53 messages
I have been trying to figure this out days! I can't seem to get an answerPosted Image I got some possible causes but not know it for sure. Here's the script,
void main()
{
object oNonPartyFollower = CreateObject(OBJECT_TYPE_CREATURE, R"my_nonpartfollower.utc", GetSafeLocation(GetLocation(GetHero())));
AddNonPartyFollower(oNonPartyFollower);
}
Does fire immediately when used like above but when I use this script like below,
object oNonPartyFollower = CreateObject(OBJECT_TYPE_CREATURE, R"my_nonpartfollower.utc", GetSafeLocation(GetLocation(GetHero())));
{
AddNonPartyFollower(oNonPartyFollower);
}

object oNonPartyFollower1 = CreateObject(OBJECT_TYPE_CREATURE, R"my_nonpartfollower1.utc", GetSafeLocation(GetLocation(GetHero())));
{
AddNonPartyFollower(oNonPartyFollower1);
}

object oNonPartyFollower2 = CreateObject(OBJECT_TYPE_CREATURE, R"my_nonpartfollower2.utc", GetSafeLocation(GetLocation(GetHero())));
{
AddNonPartyFollower(oNonPartyFollower2);
}
With this, these "my_nonpartfollower"s will seldom follow, only one of them follow or none of them follow. I always want them to follow. If they don't follow, I have to load my savegame right before to that spawn. What should I do? I think part of this "stuck" is just overflow like too many "nonpartyfollowers" listed in the system. I will be eager to try if there's any scripts for removing dead "my_nonpartfollower"s to make spaces for new "my_nonpartfollower"s to take place. Please Help.
Also Is there a script to spawn multiple friendly creatures besides createpool?

Modifié par AnnoyingDisplayName, 06 janvier 2010 - 02:45 .


#2
Craig Graff

Craig Graff
  • Members
  • 608 messages
Please don't make multiple threads on the same question.



I'll try asking again. What have you attached your script to? Is it an area script, a plot script, something you are running from the console, what?



Also, have you made sure that you don't have multiple versions of the script in different override directories causing conflicts?

#3
AnnoyingDisplayName

AnnoyingDisplayName
  • Members
  • 53 messages
it is run from console yes and I don't know what you mean by multiple versions of the script.
Also I'm sorry I made another thread about the same question but I felt like it needed to be made. I'm truly sorry if that offended you or anyone. After this, I will try to be careful.

Modifié par AnnoyingDisplayName, 06 janvier 2010 - 08:12 .


#4
AnnoyingDisplayName

AnnoyingDisplayName
  • Members
  • 53 messages
I hope Craig isn't mad at me because I don't want any trouble.Posted Image

Modifié par AnnoyingDisplayName, 06 janvier 2010 - 10:31 .


#5
AnnoyingDisplayName

AnnoyingDisplayName
  • Members
  • 53 messages
Anyone? Help!