ayumilove
Youtube account suspended! youtube.com/ayumilove8
- Reaction score
- 110
hey, i have a counter strike ability too... i also posted it here on the helper... and it has exactly the same name...
udg_CS_HeroPosition = GetUnitLoc(GetAttackedUnitBJ())
udg_CS_HeroPosition = GetUnitLoc(GetTriggerUnit())
The name is confusing....I thought it was a Counter-Strike system . In my opinion, I'd call this a Counter Shot, so we don;t get mixed up with a game and an ability.
Well anyways, the ability is neat, but the screenshot is too blurred.
mm.. did the title says system? o.o"
> udg_CS_HeroPosition = GetUnitLoc(GetTriggerUnit())
mmm.. how come there is some alien jass words here o.o"
i don't really understand with the getunitloc and stuff <3
udg_CS_Heroposition = GetUnitLoc(GetTriggeringUnit())
There's a 0.001 second duration or so for overridding the variable. The variable could be localized, but it really doesn't make that much of a difference.Hero12341234 said:Looks kinda cool...imma view the code now..
you say it is MUI?
But set udg_CS_HeroPosition = GetUnitLoc(GetAttackedUnitBJ())
then if two units have it...won't it over ride that hero position?
hi tom, how to make the variable local? just wanna know <3
Custom Script: local location udg_CS_HeroPosition
why she need to set it to null units anyway don't leak.....You also need to set the unit variables to null at the end of the function.
custom script : local location CS_HeroPosition
custom script : CS_HeroPosition = null
is it correct?
custom script : local location CS_HeroPosition
custom script : [B]set[/B] CS_HeroPosition = null
Custom Script: local location udg_CS_HeroPosition
Set CS_HeroPoistion = *SomeWhere, this is the GUI Set Variable actions*
*The rest of the actions*
Custom Script: Call RemoveLocation(udg_CS_HeroPosition)
Custom Script: set udg_CS_HeroPosition = null *This is the JASS version of the GUI Set Variable actions*