Hi,
I've got an issue with making 2 global event scripts work.
Project: OT-ServBR
THE ISSUE:
I am using this in globalevents.xml for my texttps.lua script, the script pretty much sends an effect over a specified position at an interval of 3500 as shown in the xml.
I am using a second script called specialtps.lua, this is the globalevents.xml:
The specialtps.lua script requires a different interval of 5000 otherwise the effect looks messy on the specified positions.
HOWEVER,
when running the server while having this in in globalevents.xml:
the event that is above the other is only executed therefore only the specified positions in texttps.lua work and for the areas for specialtps.lua nothing happens. It seems as if the 2 events are competing and one is not being executed at all.
Anyone have any idea on how to fix this?
I've got an issue with making 2 global event scripts work.
Project: OT-ServBR
THE ISSUE:
XML:
<globalevent name="text" interval="3500" script="texttps.lua"/>
I am using this in globalevents.xml for my texttps.lua script, the script pretty much sends an effect over a specified position at an interval of 3500 as shown in the xml.
I am using a second script called specialtps.lua, this is the globalevents.xml:
XML:
<globalevent nam="text" interval="5000" script="specialtps.lua"/>
The specialtps.lua script requires a different interval of 5000 otherwise the effect looks messy on the specified positions.
HOWEVER,
when running the server while having this in in globalevents.xml:
XML:
<globalevent name="text" interval="3500" script="texttps.lua"/>
<globalevent name="text" interval="5000" script="specialtps.lua"/>
the event that is above the other is only executed therefore only the specified positions in texttps.lua work and for the areas for specialtps.lua nothing happens. It seems as if the 2 events are competing and one is not being executed at all.
Anyone have any idea on how to fix this?
Last edited: