Page 1 of 1

Testing Events

Posted: Mon Nov 05, 2012 5:47 pm
by drayath
Hi,
I in the middle of playing around with a couple of new events. I was wondering if anyone knows is any easy way to use the lua console to force the event to be added to the present level so i can test it out in some different senarios?

Re: Testing Events

Posted: Mon Nov 05, 2012 6:45 pm
by darkgod
Check the commented out code in Game.lua in the handling of ctrl+g

Re: Testing Events

Posted: Mon Nov 05, 2012 9:57 pm
by drayath
Thanks for that, now have a working event. but have a (hopefully) final query.

If i want to add my event with the following conditions.
- Only in the the infinite dungeon (i assume just add it to the \zones\infinite-dungeon\events.lua)
- To appear at most once on a level (is this always the case?)
- To appear 10% of the time irrispective of what other events are present (percent=10%, minor=true ?)

If packaged up in an add-on can you append the event to the list of events for a zone or do you have to override the entire events.lua file for that zone.

Ta