SphereCommunity
Worldgem question - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Worldgem question (/Thread-Worldgem-question)



Worldgem question - Staff_Stanic - 03-16-2013 03:37 PM

Guys, have something that "link" the NPC with its spawn?
Example, I have a monster far away of its spawn and I want to know the UID of the i_worldgem_bit that created him.
Sorry for my english and thank you!


RE: Worldgem question - Shaklaban - 03-16-2013 03:52 PM

you can get the uid of the worldgembit from: findlayer.layer_special.link


RE: Worldgem question - Staff_Stanic - 03-16-2013 04:21 PM

I was testing a few times but sometimes don't work o.O


RE: Worldgem question - RanXerox - 03-16-2013 06:02 PM

smetimes in-game you can use .xshow home on the npc, then use .go x,y,z to find it's spawngem


RE: Worldgem question - sco - 03-16-2013 08:48 PM

You can get the spawn with "spawnitem".

Try:
.xshow spawnitem.uid

for example.


RE: Worldgem question - Staff_Stanic - 03-17-2013 12:56 AM

This work!!!
Thank you!