SphereCommunity
EventsPlayer and EventsPet - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: EventsPlayer and EventsPet (/Thread-EventsPlayer-and-EventsPet)



EventsPlayer and EventsPet - darksun84 - 04-12-2012 06:04 AM

In the sphere.ini, if i put the same event in that two fields, i get the following result :

'e_main_all' already defined in sphere.ini - skipping

I am sure that one of the developpers wrote,in the old sphere forum , an explanation for that behaviour . But i don't remember it anymore :\


RE: EventsPlayer and EventsPet - ShiryuX - 04-12-2012 11:08 AM

All players are chars, but not all chars are players. That's what logic says, I'm not reading the code but I'll confirm you later.


RE: EventsPlayer and EventsPet - darksun84 - 04-12-2012 08:53 PM

Ahh , but if i put the event only in EventsPet , the players doesn't have it ! It's a bug ?


RE: EventsPlayer and EventsPet - Avatar - 04-13-2012 07:10 PM

So, make another event consisting of one that is same as pet events.
No problem Smile


RE: EventsPlayer and EventsPet - darksun84 - 04-13-2012 10:51 PM

yes , but i just didn't want to duplicate the event Shock


RE: EventsPlayer and EventsPet - RanXerox - 04-14-2012 02:52 AM

I think you can comma separate the events in those ini entries... maybe have one event with common triggers and add to each ini entry, and a separate event specifically for triggers that are NPC specific.