Jump to content

May it's a silly question, BUT...


Recommended Posts

Okay, I just got the chance to play DST thanks to a close friend @shefasf Now, I'm playin' on an "always night" server and I died. That wouldn't be a huge problem if (you know the rest) but I'm alone. Are there a way to resurrect without the help of others? Maybe a console command or advice? Both good for me.

 

Thanks for reading and the time you spent! And don't forget! Never give up the hope to get a DST key! I didn't...

Link to comment
Share on other sites

 

If you are the host:

GetPlayer():PushEvent("respawnfromghost")

 

Generally, if the ghost is close to the host, it's easier to just use

c_spawn('amulet')

But if you do want to directly resurrect by shenanigans, I would use ThePlayer to refer to yourself, but you can get the other people with AllPlayers[1], where 1 can be 1, 2, 3, 4, etc. The ordering seems to be a bit difficult to predict, though, so sometimes I just use:

for k,v in pairs(AllPlayers) do v:PushEvent('respawnfromghost') end

... but that is starting to get too long for the average user to write from memory.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
×
  • Create New...