Hi,
I've progressed a lot since my last post about targeting. This time my question is about the following quote from FPSware
When I type in
I only get the option for MouseButton, like this:
Am I missing a namespace? I'm using the following:
Also, how do I get the the Namespace for Utils in this code:
I think if I work out how to access these it will make my coding efforts a lot easier. At the moment I've been learning how to code by tweaking other people's code and gradually writing my own code but I haven't got the AoE to work for me because it usually uses code I cannot access I assume because I'm not using a correct namespace or I'm missing a reference.
Any help will be greatly appreciated.
I've progressed a lot since my last post about targeting. This time my question is about the following quote from FPSware
Code:
/// <summary>
/// Cast a given spell using click-to-cast
/// </summary>
/// <param name="spellName">Spell name to cast</param>
/// <param name="clickCastLocation">WoWPoint to cast the spell</param>
/// <returns></returns>
public static bool Cast(string spellName, WoWPoint clickCastLocation)
{
bool result = SpellManager.Cast(spellName);
LegacySpellManager.ClickRemoteLocation(clickCastLocation);
Utils.Log("-" + spellName, Utils.Colour("Blue"));
return result;
}
When I type in
Code:
LegacySpellManager.
Code:
LegacySpellManager.MouseButton
Code:
using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using TreeSharp;
Also, how do I get the the Namespace for Utils in this code:
Code:
Utils.Log("-" + spellName, Utils.Colour("Blue"));
Any help will be greatly appreciated.