• 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 Register Creature Events In Monsters

Exedion

Active Member
Joined
Jun 11, 2007
Messages
628
Reaction score
30
my question is: can be register creature events with "registerCreatureEvent(uid, eventName)" in monster? because it will be usefull

if can't... how i can modify in sourcers that?
 
ofc u can (since years)
at monster xml file, before </monster> you add:
XML:
<script>
        <event name="creatureevent"/>
</script>
 
ofc u can (since years)
at monster xml file, before </monster> you add:
XML:
<script>
        <event name="creatureevent"/>
</script>

you and me know that way about long time ago, but it is... how to say... the hard or manual way, i need know if the lua function work, for make more automatic...
 
yes, you can register monsters and players and dunno if npcs too, with registerCreatureEvent
but @ onLogin creaturescripts only for players
 
yes, you can register monsters and players and dunno if npcs too, with registerCreatureEvent
but @ onLogin creaturescripts only for players

i test another ways for register in players and... work without "onLogin" event! the scripters need considerate this for not overload the player data at login :S
 
Back
Top