View Single Post
Old 04-19-2009, 03:06 PM   #13
akolyt0r
In Flames
 
akolyt0r's Avatar
 
Join Date: Jan 2006
Posts: 1,154

Submissions (3)

akolyt0r has a spectacular aura about (120)

Default

yeah you are right...
However i found a REALLY nice way to fix this issue ...

Hidden information:

Although it took me about an hour to find this fix, since there is nearly no information avaiable about this error... i found it finally ;)
...use prefixes to shrink the definitions:
Code:
<context id="TriggerRegisterFunctions" style-ref="function">
			        <prefix>^TriggerRegister</prefix>
				<keyword>DeathEvent</keyword>
				<keyword>DestDeathInRegionEvent</keyword>
				<keyword>DialogButtonEvent</keyword>
				<keyword>DialogEvent</keyword>
				<keyword>DistanceBetweenUnits</keyword>
				<keyword>EnterRectSimple</keyword>
				<keyword>EnterRegion</keyword>
				<keyword>EnterRegionSimple</keyword>
				<keyword>FilterUnitEvent</keyword>
				<keyword>GameEvent</keyword>
				<keyword>GameStateEvent</keyword>
				<keyword>GameStateEventTimeOfDay</keyword>
				<keyword>LeaveRectSimple</keyword>
				<keyword>LeaveRegion</keyword>
				<keyword>LeaveRegionSimple</keyword>
				<keyword>PlayerAllianceChange</keyword>
				<keyword>PlayerChatEvent</keyword>
				<keyword>PlayerEvent</keyword>
				<keyword>PlayerEventAllianceChanged</keyword>
				<keyword>PlayerEventDefeat</keyword>
				<keyword>PlayerEventEndCinematic</keyword>
				<keyword>PlayerEventLeave</keyword>
				<keyword>PlayerEventVictory</keyword>
				<keyword>PlayerStateEvent</keyword>
				<keyword>PlayerUnitEvent</keyword>
				<keyword>PlayerUnitEventSimple</keyword>
				<keyword>TimerEvent</keyword>
				<keyword>TimerEventPeriodic</keyword>
				<keyword>TimerEventSingle</keyword>
				<keyword>TimerExpireEvent</keyword>
				<keyword>TrackableHitEvent</keyword>
				<keyword>TrackableTrackEvent</keyword>
				<keyword>UnitEvent</keyword>
				<keyword>UnitInRange</keyword>
				<keyword>UnitInRangeSimple</keyword>
				<keyword>UnitLifeEvent</keyword>
				<keyword>UnitManaEvent</keyword>
				<keyword>UnitStateEvent</keyword>
				<keyword>VariableEvent</keyword>
			</context>
other good prefixes would be:
Get...
Set...
Add...
Unit...
Destroy...
Convert...
Create...

you get the idea ...
__________________
akolyt0r is offline   Reply With Quote