Don't Starve Together
Personal islands
Astro  [ผู้พัฒนา] 17 ธ.ค. 2015 @ 10: 14pm
Console & cheating
Here I will place console commands, that could be usefull. If you have any questions about console please ask inside this disscusion.

Spawn new bell (for existing island)
local s = c_spawn("bell") s.islandid = <YOUR ISLAND ID> s:AddTag("bell_island"..<YOUR ISLAND ID>)


Get island ID
Execute one of the following codes holding mouse cursor above triangle portal in center of island:

This script should work when running LOCALLY on any server:
for i = 1, 33 do if TheInput:GetWorldEntityUnderMouse():HasTag("island"..i) then print("IslandID:"..i) end end

This script works on non dedicated servers:
print("IslandID:"..TheInput:GetWorldEntityUnderMouse().islandid)
The result should be printed in console. Island ID is a number between 1 and 33.
แก้ไขล่าสุดโดย Astro; 3 ส.ค. 2016 @ 10: 07am
< >
กำลังแสดง 1-4 จาก 4 ความเห็น
i think you can show the island number in the triangle portal or beside it. It would be easier for players to distinguish between islands in the game.
Astro  [ผู้พัฒนา] 3 ส.ค. 2016 @ 10: 07am 
For those who has problem with determining IslandID use following script. Script should be executed LOCALLY:

for i = 1, 33 do if TheInput:GetWorldEntityUnderMouse():HasTag("island"..i) then print("IslandID:"..i) end end
get id island still not working
LOCALLY just say always 1 value
< >
กำลังแสดง 1-4 จาก 4 ความเห็น
ต่อหน้า: 1530 50