Is it possible to show the move speed and attack speed just by pointing to the armor and attack as shown in the picture above? If it is possible, can anyone teach me how? Thanks in advance to those who would help.
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
well o.o if dota did it....it SHOULD be possible?
mebe not specifically in the .j file but still should be do-able
unless....those arent screenies and he edited it someway >.>
There's no function in WE to get attack speed.
You can make a -ms command to display movespeed.
And I'm pretty sure they are edited, and he was asking how to make the interface look like what he posted.
I think its just an old picture.
A maphack by ShadowFrench had that function. Showing you the attack speed (times between attacks) and movement speed.
I haven't seen any other map-hack doing so, and I was also intersted in doing that.
I have no idea how he did it. Yet he did. But it wasn't built in the map. And as far as I know. You cannot do so using jass (yet I said that before and was proven wrong) As a way to get attack speed (in theory) is do-able.
globals
trigger textTrigger=CreateTrigger()
trigger attackSpeedCalculator=CreateTrigger()
real attacksNum=0
boolean array playerChecker
timer attackTime=CreateTimer()
endglobals
function textCommand takes nothing returns nothing
if SubString(GetEventPlayerChatString(),0,4)=="-asc" then
if playerChecker[GetPlayerId(GetTriggerPlayer())]==false then
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Attack-Speed Check will start after you attack a unit")
set playerChecker[GetPlayerId(GetTriggerPlayer())]=true
else
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Check in-progress - Attack a unit to start check")
endif
endif
endfunction
function calculate takes nothing returns nothing
if playerChecker[GetPlayerId(GetOwningPlayer(GetAttacker()))] and attacksNum==0 then
call TimerStart(attackTime,0,false,null)
set attacksNum=1
elseif playerChecker[GetPlayerId(GetOwningPlayer(GetAttacker()))] and attacksNum==1 then
set attacksNum=TimerGetElapsed(attackTime)
set playerChecker[GetPlayerId(GetOwningPlayer(GetAttacker()))]=false
call DisplayTextToPlayer(Player(GetPlayerId(GetOwningPlayer(GetAttacker()))),0,0,GetUnitName(GetAttacker())+" attack time is: " + R2S(attacksNum))
set attacksNum=0
endif
endfunction
function startHere takes nothing returns nothing
local integer looper=0
loop
exitwhen looper>11
call TriggerRegisterPlayerChatEvent(textTrigger,Player(looper),"-",false)
call TriggerRegisterPlayerUnitEvent(attackSpeedCalculator,Player(looper),EVENT_PLAYER_UNIT_ATTACKED,null)
set looper=looper+1
endloop
call TriggerAddAction(textTrigger,function textCommand)
call TriggerAddAction(attackSpeedCalculator,function calculate)
endfunction
function main takes nothing returns nothing
call startHere()
endfunction
I just made it while writing this post. It may not work, Ill be surprised it it would. Yet its the prototype....
Still it won't make it on-screen like in the pic.
ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).
(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:
(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.
(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).
necro much? o.o
and....theres an injecter that can do that now....i forgot where i got it but i know i got it from this site...
its called dream something
it shows both ms and atk spd