Hello. I have doubts about basic scripting:
Where i can see ALL the functions of my server? (actions, movements, spells, etc)
Where i can see the words that i have to use for actions.xml, talkactions.xml, movement.xml, etc?
This is my first script (when you inside on X, you dead)
movements.xml
And not works. What i am doing bad?
Thanks !
Where i can see ALL the functions of my server? (actions, movements, spells, etc)
Where i can see the words that i have to use for actions.xml, talkactions.xml, movement.xml, etc?
This is my first script (when you inside on X, you dead)
Code:
function onStepIn(cid, item, position, fromPosition)
if item.actionid = 10500 then
doCreatureAddHealth(cid,-10000)
end
end
movements.xml
Code:
<movevent event="StepIn" actionid="10500" script="inqdead.lua"/>
And not works. What i am doing bad?
Thanks !
Last edited: