What's new

Gravestone

Kerthol

Active User
Joined
Jul 20, 2009
Messages
54
Reaction score
3
Odp: Gravestone

Nic nie wpisujesz w MapEdytorze, jedynie zmieniasz UniqueID tabliczki. Trzeba zrobi? skrypt.
function onUse(cid, item, frompos, item2, topos)
if item.uid == Unique ID tabliczki then
getThingfromPos(topos{x=666y=666z=666) -tu wpisujesz pozycj? gdzie ma przenosi?, ale nie jestem pewien co do jej dzia?ania, bo tej komendy nie u?ywam.
else
return 0
end
return 1
end
 

Clear

Active User
Joined
Jul 22, 2009
Messages
101
Reaction score
7
Odp: Gravestone

Ten scrypt up dodaj do data/action/scrypt oraz dodaj linijke do actions.xml
Code:
<action itemid="Tu daj id tabliczki ktora ma teleportowac" script="tabliczka.lua"  />
W map edytorze masz dac unique id Nike zapomnij :)
 
Last edited:
Top