Scripting Resources & Utilities > Stealth Client

Stealth C# questions

(1/1)

jcw:
Hello Stealth world.

So I have A couple questions about stealth and C#. I was testing a few things just playing around with it to see some simple stuff.

Stealth.Default.ToggleFly();               Is this working?

Stealth.Default.CastSpell("cure");     
Stealth.Default.WaitTargetSelf();        This seems like target queing. Is there a way to make it wait to finish the 2 actions?

Stealth.Default.UsePrimaryAbility();      Will this do a check its self to see if its already active or do I need to add my own check?

Sorry for the noob coding. I was just trying to play around with it to get a better understanding of the flow.     


--- Code: ---using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace ConsoleApplication1
{
    using ScriptDotNet2;

    class Program
    {
        static void Main(string[] args)
        {
            Stealth.Default.ToggleFly();
            Stealth.Default.ClientPrint("test");
            Stealth.Default.SendTextToUO("test2");
            Stealth.Default.CastSpell("cure");
            Stealth.Default.WaitTargetSelf();
            Stealth.Default.UsePrimaryAbility();
        }
    }
}
--- End code ---

Crome969:

Navigation

[0] Message Index

Go to full version