Author Topic: Silent Teleport  (Read 2815 times)

peewee_RotA

  • Sr. Member
  • Posts: 272
  • Karma: +8/-0
    • View Profile
Silent Teleport
« on: April 30, 2014, 03:06:50 PM »
In scripting, is there any command to cause a teleport without the teleport effect? This kind of feature works wonders for creating elevators and "multi-story" buildings.
« Last Edit: April 30, 2014, 03:51:19 PM by peewee_RotA »

LysleShields

  • Administrator
  • Full Member
  • Posts: 208
  • Karma: +6/-1
  • Is the potion half full or half empty?
    • View Profile
    • Amulets & Armor
Re: Silent Teleport
« Reply #1 on: April 30, 2014, 05:00:11 PM »
There currently is not.  There is a flag on a player's movement that says 'teleport' and that causes the effect to be generated.  Otherwise, the movement is considered a slide to a given location.

peewee_RotA

  • Sr. Member
  • Posts: 272
  • Karma: +8/-0
    • View Profile
Re: Silent Teleport
« Reply #2 on: May 01, 2014, 07:37:28 AM »
I suspected as much. Thanks.


After taking a look at the code, I think that any change for this would include changes to the script compiler, and maybe even map loading. There is currently no extra "flags" on the teleport function that could be interpreted in game.