Is their anyone who can help out with a trigger I'm working on? Specifically, does anyone know the script to make a player cast an ability, but instead of using a specified point, it brings up the default spell targetting ui/cursor? I'm almost 100% sure its possible, I don't see how custom spell bars would be possible without it.
Thanks!
Also, I'm not looking to bypass this with dialog triggers. I need actual in game ability targetting
edit:
Actually, after finally figuring out how the code works for all the hotbar codes I've seen, I'm convinced this isn't possible :(, as nobody has done it.
you can rig it to make it look like it works
for example, you press a dialog button, this will set A var to true, and create a graphic around your character (the range of the spell graphic) , and will now wait for a mouse click, in which it will cast the spell at the point, however, there is no way to make your mouse cursor switch as it would if you were using the ability.
Rollback Post to RevisionRollBack
Random Information
Tutorials - Map Development - Galaxy wiki
|Issues? PM me|
you can rig it to make it look like it works for example, you press a dialog button, this will set A var to true, and create a graphic around your character (the range of the spell graphic) , and will now wait for a mouse click, in which it will cast the spell at the point, however, there is no way to make your mouse cursor switch as it would if you were using the ability.
Thanks for the help, but I've already considered that method what I need is the actual spell targetting, because the spell I'm hoping to make a dialog of has a dynamic cursor irreplaceable with triggers (I'm using Raynors Railgun Ability, and making that targetting with triggers causes too much lag).
Anyone have any other ways to bypass this? But thanks anyway.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey Sc2mapster :).
Is their anyone who can help out with a trigger I'm working on? Specifically, does anyone know the script to make a player cast an ability, but instead of using a specified point, it brings up the default spell targetting ui/cursor? I'm almost 100% sure its possible, I don't see how custom spell bars would be possible without it. Thanks!
Also, I'm not looking to bypass this with dialog triggers. I need actual in game ability targetting
edit:
Actually, after finally figuring out how the code works for all the hotbar codes I've seen, I'm convinced this isn't possible :(, as nobody has done it.
Anyone have any brilliant ideas :D?
@halfthought: Go
you can rig it to make it look like it works for example, you press a dialog button, this will set A var to true, and create a graphic around your character (the range of the spell graphic) , and will now wait for a mouse click, in which it will cast the spell at the point, however, there is no way to make your mouse cursor switch as it would if you were using the ability.
Thanks for the help, but I've already considered that method what I need is the actual spell targetting, because the spell I'm hoping to make a dialog of has a dynamic cursor irreplaceable with triggers (I'm using Raynors Railgun Ability, and making that targetting with triggers causes too much lag).
Anyone have any other ways to bypass this? But thanks anyway.