dMZX Forums: Addendum to Documentation on Teleport Player -> Archived Requests -> Tracker

Jump to content

Report ID 819 Title Addendum to Documentation on Teleport Player
Product Archived Requests Status UNFILED (Severity 0 - None Assigned)
Version - Fixed in -

Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Report ID #819: Addendum to Documentation on Teleport Player

#1 User is offline  
hseiken 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 29
  • Joined: 05-March 20
  • Gender:Not Telling
  • Location:Earf

Posted 02 April 2021 - 11:24 PM

This isn't a bug, per say, but was something I spent 2 hours trying to solve a 'bug' in my script that wasn't a bug at all, but instead wasn't fully documented in the help.


Basically, the issue is that Teleport Player "BOARD" X Y even if it's teleporting to the same board acts as if the player was reinserted into the stage as if they were never there. This causes issues if you don't know this behavior in how you setup Robots to behave. I think for people like myself trying out this command would be served to know this is how the command works. I didn't find the existing description to imply this, much less explicitly state it. If there is another command that can instantly take a player from X1 Y1 to X2 Y2 in a single cycle without resetting Robot execution that a new Robotic scripter (like myself) should use in place of this, it might also be useful to mention it in the Help file's description of the command. Among things it affects if one is not aware of how Teleport Player works is: A non-global robot's variables will be reset. All Robots command execution will reset. JustEntered tag will be executed where used on the board.


I hope I posted this in the right place as I don't think it's a feature request or something to put in a bug report as it's neither, I just hoped it'd get seen as something to consider for the to-do list. Obviously this is low tier stuff.

Thanks for consideration.

This post has been edited by hseiken: 02 April 2021 - 11:25 PM

There is no Data, only Zuul.


Page 1 of 1  
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Replies (1 - 5)

#2 User is offline  
Terryn 

  • ******
  • Group: DigiStaff
  • Posts: 2,961
  • Joined: 12-October 00
  • Gender:Male

Posted 03 April 2021 - 11:57 PM

1) The same-board command you're looking for is PUT PLAYER # #. The next help file revision will have a listing arranged by type, so that should mitigate any need to mention the command in the TELEPORT PLAYER description.

2) TELEPORT PLAYER "board" # # does not seem to act the way you described, at least on 2.92f. While it does trigger any justentered labels that are present when doing a same-board teleport, it does not trigger a reset when the "Reset board on entry" board setting is active. Regardless, those first two conditions (the resets) you describe are effects of that board setting and would not happen through a typical TELEPORT PLAYER.

I've gone ahead and mentioned the justentered behavior, as even in my most recent revision that wasn't noted.
angelic stream - shed sanguine - ill-adapt - avis - para/lyser - renaissance - dead tangent - phosphene blur - birth breeds death - ________ - painted glass - lagniappe

<Exophase> HES STEALING MAH AIRSHIP!!!!!!11111111

#3 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,904
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 04 April 2021 - 12:34 AM

Re: the second point, I briefly looked at this last night. TELEPORT PLAYER "board" # # sends JUSTENTERED and also resets the TIME counter and the player restart coordinates, which is all presumably very old behavior. Robot state is otherwise unmodified. I can confirm that board asset loading and board reset on entry do not occur when TELEPORT PLAYER targets the current board.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository

#4 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,904
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 08 January 2024 - 11:51 AM

As of 2.93, by default board assets are loaded (and if enabled, reset board on entry occurs) regardless of the target board for TELEPORT PLAYER. The older behavior (where they aren't) can also be selected. I don't know if this helps this issue at all. Is it ok to close this?
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository

#5 User is offline  
Terryn 

  • ******
  • Group: DigiStaff
  • Posts: 2,961
  • Joined: 12-October 00
  • Gender:Male

Posted 16 January 2024 - 08:03 PM

I think so, especially since updated docs are in at this point. Archiving.
angelic stream - shed sanguine - ill-adapt - avis - para/lyser - renaissance - dead tangent - phosphene blur - birth breeds death - ________ - painted glass - lagniappe

<Exophase> HES STEALING MAH AIRSHIP!!!!!!11111111

#6 User is offline  
Terryn 

  • ******
  • Group: DigiStaff
  • Posts: 2,961
  • Joined: 12-October 00
  • Gender:Male

Posted 16 January 2024 - 08:04 PM

Moving to: Archived Requests


Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

1 User(s) are reading this issue
1 Guests and 0 Anonymous Users


Powered by IP.Tracker 1.3.2 © 2024  IPS, Inc.