RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Can anyone tell me what is Invoke good for?

fenris

Wanderer
Can anyone tell me what is Invoke good for?

on the example:
[code:1]
if ( this.Target.Range == -1 || this.InRange( this.Combatant, t.Range ) )
{
t.Invoke( this, this.Combatant );
}
[/code:1]

:?: what Invoke does? :?:
 

krrios

Administrator
Invoke securely calls the target's On* events. OnTarget, OnTargetOutOfRange, OnTargetFinish, etc.
 
Top