When a character is teleported to another facet/world using the JS function char.Teleport( x, y, z, worldnum), he will not vanish from the screen of anyone standing nearby and who should see him getting teleported away from their world (in other words: vanish from their screen.)
Tested using UOX3 0.98-3.7m.
[FIXED] Refresh-issue with Teleport JS function
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
Still valid in UOX3 0.98-4.0 using client 6.0.12.3.
Testcase:
1. Login with two characters on two seperate clients
2. Move both characters to the same location ingame, so they can see the other character on their screen.
3. Setup a small test-script containing the following javascript code, then give it an ID in jse_fileassociations.scp:4. Reload the JS engine by pressing * followed by 8 in the UOX3 console window.Code: Select all
function onUseChecked( pUser, iUsed ) { pUser.Teleport( pUser.x, pUser.y, pUser.z, 1) return false; }
5. 'SETSCPTRIG <scriptID> on an item ingame
6. Let one of the players doubleclick the item to get teleported away from the other
7. Verify that the character double-clicking on the teleportation-object was indeed teleported away
7. Observe, on the client of the character who remained behind, that the character who was teleported will not have vanished from the screen.
-= Ho Eyo He Hum =-