strutZ
Australian OT Member {AKA Beastn}
- Joined
- Nov 16, 2014
- Messages
- 1,391
- Solutions
- 7
- Reaction score
- 550
Hello Otland!
I created this example script.
The script is loaded.
Why does it not print here when i kill something? What am i forgetting? i'm a bit rusty...
I created this example script.
The script is loaded.
Why does it not print here when i kill something? What am i forgetting? i'm a bit rusty...
Lua:
local creatureevent = CreatureEvent("example")
function creatureevent.onDeath(creature, corpse, killer, mostDamageKiller, lastHitUnjustified, mostDamageUnjustified)
print('here')
return true
end
creatureevent:register()