• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Creature events!

Exedion

Active Member
Joined
Jun 11, 2007
Messages
628
Reaction score
30
well i have a question of creature events: registerCreatureEvent(uid, eventName) <- work with monsters?

Request: how i can add to "onCombat", the parameters "type, combat, value" like "onStatsChange"?
 
well i have a question of creature events: registerCreatureEvent(uid, eventName) <- work with monsters?
Yes, you can. But you must do it in the Monster's XML
for e.g.
XML:
<script>
       <event name="pacatk"/> 
</script>
Request: how i can add to "onCombat", the parameters "type, combat, value" like "onStatsChange"?
I guess you can't :p Why not use statschange insted? :p
 
Because if i use onStatChange, i need to put the event tag in every monster.xml for get work with all creatures, if i use registerCreatureEvent, is redundant use the tag for monster.xml, is obligatorily have to do the tag?

I guess you can't :p Why not use statschange insted? :p

i know, this is a c++ request :)
 
Back
Top