Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New Premium Module: Tyrants of the Moonsea! Read More
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

Suggestion: Diversifying the default PC event handlers

SorenSoren Member, Developer Posts: 36
As many of you probably know, PCs mechanically actually have event handlers for all the same events NPCs do (like OnDamaged, OnHeartBeat etc.), but since you can't set them manually, this fact is of little use. They all (except the OnConversation event that has nw_g0_onconversat iirc) default to the nonexistent but aptly named script “default”.

Being able to set these manually (e.g. on the module properties) would open up a lot of opportunities and I'm sure this has been requested elsewhere already (otherwise consider this a formal request!) But a solution that would be much simpler to integrate and yield almost the same opportunities would be to diversify the name of the default event handlers - for example the OnDamaged could default to nw_g0_ondamaged and so forth.

This would be a very simple way to open up a large array of opportunities for module designers.



Sign In or Register to comment.