Door Bug
#1

Tell me why the member in a door then out again was transferred to the new vw

Where does this error come from?

Model

Mysql
Reply
#2

pls explain
Reply
#3

i go in a door
then , i leave it and unseen everybody

Help me please ...
Reply
#4

Upon exit the door, you have to set player's virtual world to outside world. When you enter a door, your virtual world is set to something else like Door ID or something. This is done so that 2 doors can have multiple interiors but players inside will be technically together. Virtual Worlds are Server Sided interior IDs. Use

Code:
SetPlayerVirtualWorld()
to set their VW to outside world.(probably 0). You can use a flag variable to store player's old VW aswell. When he enters a door, his old VW will be stored inside that flag variable, and upon exit, you set player's VW to the value of that flag variable. This is useful if players enters a door inside another door.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)