What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Button press qeustion

asterope

New Member
Joined
Nov 30, 2011
Messages
7
Reaction score
0
Hi mates,

I am looking for a answer.
I am trying to make a profile for darkmoon fairy.
You can see there is a cannon over there.
You have to release yourself in some kind of a circle.
The spell they use is. Cancel Magic Wings ID=102120
Howe do i make my profile work that he presses this button or casts this spell.
I tryed a lot already but cannot find out what it is.

<CustomBehavior File="Misc\RunLua" Lua="/click ActionButton1" />
<CustomBehavior File="RunMacro" Macro="/cast Cancel Magic Wings" />

Both don't work.

Hope anybody can help me.

Kind regards
 
what exactly did you try?, u tried interacting with the cannon, waiting X ammount of secs, and cancelaura?

im no pro, not sure if that would even work :P
 
well interact with cannon and waiting the seconds is already done, i only need a little code so that i can drop myself bij pressing ActionButton1
 
well interact with cannon and waiting the seconds is already done,
i only need a little code so that i can press the drop down button.
The button spell is Cancel Button Wings.
So my question is.
What is the code for pussing a button??
So i can controle a vehicle.
 
Instead of making a button for it, I'd say it's easier to just run this little code:
Code:
Lua.DoString(string.Format("RunMacroText(\"{0}\")", "/cancelaura Magic Wings"), 0);
 
Just time how long it takes from entering the cannon to when the spell needs to be used.

Then make it as above after x time has passed.
 
Back
Top