( FIXED ) Summons Don't Follow

For in-game support requests, and bug reports.
Somnium
Site Admin
Posts: 173
Joined: Sat Jan 10, 2015 5:34 pm

Re: ( IN PROGRESS ) Summons Don't Follow

Post by Somnium » Tue Mar 10, 2015 4:47 am

Did you set the "toolset destination" of the failing transition to "no transition"?
Somnium (a.k.a. Seeker)

User avatar
tarashon
Posts: 857
Joined: Sun Jan 11, 2015 6:27 pm

Re: ( IN PROGRESS ) Summons Don't Follow

Post by tarashon » Tue Mar 10, 2015 6:36 am

well i clicked the "none" option.

did you mean i should click "waypoint" and type "no destination" ?

/tara

Somnium
Site Admin
Posts: 173
Joined: Sat Jan 10, 2015 5:34 pm

Re: ( IN PROGRESS ) Summons Don't Follow

Post by Somnium » Tue Mar 10, 2015 4:25 pm

I have mailed you my test module. You should be able to see exactly how to set up the transition in that :)
Somnium (a.k.a. Seeker)

User avatar
tarashon
Posts: 857
Joined: Sun Jan 11, 2015 6:27 pm

Re: ( IN PROGRESS ) Summons Don't Follow

Post by tarashon » Tue Mar 10, 2015 8:25 pm

Oki seemes i've done it right allthough some of the clicking marker ( trigger areas ) was quite small so I have redrawn the polygons. Will test some more now...

/tara

User avatar
tarashon
Posts: 857
Joined: Sun Jan 11, 2015 6:27 pm

Re: ( IN PROGRESS ) Summons Don't Follow

Post by tarashon » Tue Mar 10, 2015 9:02 pm

Oki...

Testet it in your module now and it is not working on summons. Not sure if it Works on familiars/companions/henchmen but i tested with bard and summon and it didnt Work, so its the actual script that needs some tweaking...

/tara

Somnium
Site Admin
Posts: 173
Joined: Sat Jan 10, 2015 5:34 pm

Re: ( IN PROGRESS ) Summons Don't Follow

Post by Somnium » Wed Mar 11, 2015 5:19 am

Hmm - that's odd, I have tested it with Wizard familiar and the badger summoned by Monster Summoning 1, and it worked for both. When I click on the transition, the PC moves to the transition, and is then ported to the waypoint, and the familiar and summon appears right beside him. I also tested that the followers were teleported, even when ordered to stand their ground. I just retested a few minutes ago, and it still works.
Somnium (a.k.a. Seeker)

User avatar
tarashon
Posts: 857
Joined: Sun Jan 11, 2015 6:27 pm

Re: ( IN PROGRESS ) Summons Don't Follow

Post by tarashon » Wed Mar 11, 2015 6:32 am

thats ultimately weird ....

User avatar
tarashon
Posts: 857
Joined: Sun Jan 11, 2015 6:27 pm

Re: ( IN PROGRESS ) Summons Don't Follow

Post by tarashon » Thu Mar 12, 2015 8:05 pm

Howdy folks :)

For some strange reason it seemes that the new transitons will take along your summons but only if you put them to "stand you ground". Nothing happened when i had them on follow on test but the second it was on "stand you ground" it teleported along.

/tara

Balkoth
Posts: 188
Joined: Mon Feb 23, 2015 1:55 pm

Re: ( IN PROGRESS ) Summons Don't Follow

Post by Balkoth » Thu Mar 12, 2015 9:19 pm

Mind posting the relevant code?

Somnium
Site Admin
Posts: 173
Joined: Sat Jan 10, 2015 5:34 pm

Re: ( IN PROGRESS ) Summons Don't Follow

Post by Somnium » Fri Mar 13, 2015 3:58 pm

Sure:

Code: Select all

// Local area transition script.
// Created by Somnium in 2015 for the Alangara server.
// This area-transition script teleports both the entering PC and any
// followers he might have, to a destination waypoint.
// Usage:
// 1) Put this script on an area transition trigger (onEnter event).
// 2) Place a local string named TELEPORT_TARGET on the trigger, with
//    a value corresponding to the tag of the target waypoint.
void main()
{
   object oPC = GetEnteringObject();
   if (GetIsObjectValid(oPC) && GetIsPC(oPC))
   {
       string targetName = GetLocalString(OBJECT_SELF, "TELEPORT_TARGET");
       if (targetName != "")
       {
           object target = GetWaypointByTag(targetName);
           location targetLocation = GetLocation(target);
           if (GetIsObjectValid(target))
           {
              AssignCommand(oPC, ActionJumpToLocation(targetLocation));
              object factionMember = GetFirstFactionMember(oPC, FALSE);
              while (GetIsObjectValid(factionMember))
              {
                 if (!GetIsPC(factionMember) && GetMaster(factionMember) == oPC)
                 {
                    AssignCommand(factionMember, ActionJumpToLocation(targetLocation));
                 }
                 factionMember = GetNextFactionMember(oPC, FALSE);
              }
           }
       }
   }
}
Somnium (a.k.a. Seeker)

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests