-
Yala quest
Hello brother
I've planned to make yala quest script and i will post it but i need simple code for this part
( Kill Tormented Ghosts and use the Ghost Residue on the charm thrice — this will make 6 more Tormented Ghosts appear. At this point the Ghost Charm will then change into a Charged Ghost Charm.)
i wanna code that use dead ghost on (x,y,z)
so any one can help
i will post it here when i finishing it free :D
@Jontor
@Oscagi
-
Try thinking something with the code below
Code:
local pos = Self.Position()
for x = -7, 7 do
for y = -5, 5 do
if (Map.GetTopUseItem(pos.x + x,pos.y + y, pos.z).id == <dead ghost id here>) then
return {x = pos.x+x, y = pos.y+y, z = pos.z}
end
end
end