kreathyon
Member
|
Teleport and Environment
Hello,
How to change or import new environment in world2 after téléporting in this world please ?
Thank you in advance
|
|
07-23-2015 06:08 PM |
|
RedcrowProd
Member
|
RE: Teleport and Environment
you can get your world id with
Game.World.id()
and simply do a if(Game.World.id()==idn1){do your environement stuff}
else if(Game.World.id()==idn2){do you 2nd world environement stuff}
idk, out of my head i would do it this way, but idk if there's easier way to do it
|
|
07-23-2015 07:11 PM |
|
Esenthel
Administrator
|
RE: Teleport and Environment
You can also use Game.World.settings().environment
|
|
07-24-2015 12:58 AM |
|