Author Topic: Stealth C# questions  (Read 3584 times)

0 Members and 1 Guest are viewing this topic.

Offline jcwTopic starter

  • Jr. Member
  • **
  • Posts: 14
  • Activity:
    0%
  • Reputation Power: 1
  • jcw has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Stealth C# questions
« on: August 31, 2015, 01:10:20 PM »
0
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: [Select]
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();
        }
    }
}

Offline Crome969

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: Stealth C# questions
« Reply #1 on: August 31, 2015, 08:25:31 PM »
0

Tags: