As the title says. I need a script that create like 5 monsters on different sqm(X;Y;Z) when you walk on a sqm.
If someone can help me with this, could that person be kind and Explain about the script how he did it, beacuse i wan't to learn lua
I tried this, first script i ever done!
Error =
[13/11/2008 20:16:57] Warning: [Event::loadScript] Can not load script. data/movements/scripts/walking.lua
[13/11/2008 20:16:57] data/movements/scripts/walking.lua:1: unexpected symbol near ']'
If someone can help me with this, could that person be kind and Explain about the script how he did it, beacuse i wan't to learn lua
I tried this, first script i ever done!
]function onStepIn(cid, item, position, fromPosition)
if item.uid == 9009 then
if item.itemid == 431 then
demon1pos = {x=33232, y=31728, z=11}
demon2pos = {x=33197, y=31696, z=11}
demon3pos = {x=33165, y=31728, z=11}
demon4pos = {x=33198, y=31762, z=11}
demon5pos = {x=33130, y=31692, z=11}
demon6pos = {x=33104, y=31729, z=11}
doSummonCreature("Demon", demon1pos)
doSummonCreature("Demon", demon2pos)
doSummonCreature("Demon", demon3pos)
doSummonCreature("Demon", demon4pos)
doSummonCreature("Demon", demon5pos)
doSummonCreature("Demon", demon6pos)
end
end
Error =
[13/11/2008 20:16:57] Warning: [Event::loadScript] Can not load script. data/movements/scripts/walking.lua
[13/11/2008 20:16:57] data/movements/scripts/walking.lua:1: unexpected symbol near ']'
Last edited: