Upcoming Events

Collapse

There are no results that meet this criteria.

Announcement

Collapse
No announcement yet.

Dimension Door

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dimension Door

    In Pen and Paper, Dimension Door allows you to bring along passengers: One per three caster levels. Would it be possible to tweak the script to bring along anyone in your party that is within 4 or 5 feet of you, starting with the closest and moving out until it has reached the max number of passengers for your level? The caster has to be touching the passengers, so I think 5 feet is a good max to simulate the range.
    James Arrow: Potion Vendor

  • #2
    I think it was limited to caster only in order to avoid bugs where people get stuck in places where they don't belong. It's theoretically possible that not enough walkmesh is available for all characters to be relocated properly.

    I'm not sure if it would give any actual problems, though.

    Comment


    • #3
      You could use the CalcSafeLocation() function to avoid that problem, if the function is unable to find a walkable area then it just returns the character's original area which would result in the character just staying in the same place while everyone else that has a safe location goes to theirs
      James Arrow: Potion Vendor

      Comment


      • #4
        I know that function, and have used it in various places. The problem with it being used for the spell is that people will label it as a 'bug' when not everyone gets teleported as they had intended, which is annoying to us devs when it happens repeatedly.

        Comment


        • #5
          If it doesn't find a safe location, maybe have the script send a message to the PC that says, "Couldn't find a walkable location, blame your mage."?
          James Arrow: Potion Vendor

          Comment


          • #6
            That's an option, I guess.

            Comment

            Working...
            X