base ability

Laiev

Hey Listen!!
Reaction score
188
looking for base abilities with
- minimum casting range (e.g blink)
- target point
thanks

i don't know if there're more then 1 ability (blink) with minimum range... what you can do is check in trigger if the range is too small or not...

also target point... the best of all

carrion swarm :thup:
 

hgkjfhfdsj

Active Member
Reaction score
55
also target point... the best of all
:p i mean base abilities with both of the above(ie, min casting range & target point)
and i would prefer to have that min casting error like blink.. so checking range on begin cast is..
 

Laiev

Hey Listen!!
Reaction score
188
error not error sound
:p
that mouse thingy error

????????

[ljass]function SimError takes player ForPlayer, string msg returns nothing[/ljass]

>>

[ljass]call SimError (Player(0), "This spell requires a minimum cast range")[/ljass]

EDIT: what mouse error?
 

BlackRose

Forum User
Reaction score
239
Event - Units begins casting
Conditions - Distance between target point and caster <= MININUM_RANGE
Actions - SimError( owner, "NOOB, TARGET FURHTER OR ELSE YOU BLOW YOURSELF UP!" )
- order stop.
 

Laiev

Hey Listen!!
Reaction score
188
start effect :p

just add a if before everything and check the distance between position of caster and target point... it less you custom script that call (remember, in jass, Player(0) == Player Red) but you can use [ljass]GetOwningPlayer(GetTriggerUnit())[/ljass], with this you'll display the error for the owner player of the casting unit...

in the else you execute the trigger


ahh... don't forget to order unit to stop, or cooldown and mana cost will count

or you can do what BlackRose said :p better and more fast then what i explain

OT: BlackRose just disappear of the helper
 

hgkjfhfdsj

Active Member
Reaction score
55
Event - Units begins casting
Conditions - Distance between target point and caster <= MININUM_RANGE
Actions - SimError( owner, "NOOB, TARGET FURHTER OR ELSE YOU BLOW YOURSELF UP!" )
- order stop.

this method (which i asked to confirm xD)>>>
the mouse event thing
- where if you click within min range, it doesnt register as a click, and you still have that target cursor

so if event is begin casting, click has already been registered..
not sure if im clear or not lol
 

Laiev

Hey Listen!!
Reaction score
188
well.. thhere're actually a way to order unit to click on the button, i just don't know how :p

i'm a bit curious about this too...
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
you could force the user to press the hotkey for the spell again :p
Code:
Game - Force Player 1 (Red) to press the key A
 

hgkjfhfdsj

Active Member
Reaction score
55
you could force the user to press the hotkey for the spell again
yep, tried that, just seeing if there was actually base ability other than blink :)
 

Laiev

Hey Listen!!
Reaction score
188
you could force the user to press the hotkey for the spell again :p
Code:
Game - Force Player 1 (Red) to press the key A

ohh... hmm

never notice that :rolleyes::rolleyes::rolleyes:


OT: I just receive 2 beta key, 1 i give to a good friend of warcraft but other still in my email, but betaphase will end at 31/5 :p
 

hgkjfhfdsj

Active Member
Reaction score
55
BUMP

suggested answers posted
- force ui key
- simerror + begin cast

in need of mouse error similar to blink (ie where min range casting are not registered as 'clicks' -no order given
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
simerror that laiev suggested and order unit to stop with event issues an order and then force the key press to get the spell rdy to click again?

equals simerror + issues order + force button
 

hgkjfhfdsj

Active Member
Reaction score
55
i will resort to that if blink being the only spell with min cast range is confirmed :)
>i don't know if there're more then 1 ability (blink) with minimum range (1)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top