Comments (5)
The message DOTA_UM_SpectatorPlayerClick
sounds promising for that, though it doesn't seem to contain the click location, so I'm not sure.
from manta.
It appears that OnCDOTAUserMsg_SpectatorPlayerUnitOrders
is the right callback for this, although this also includes things like moving the courier and dominated creeps. You'll have to check to make sure the unit being moved is a hero.
from manta.
Thanks for answering ! Now I'm researching the connection of the entindex and the hero.
from manta.
parser.PacketEntities[index]
. ClassName
will get you the name of the unit (like CDOTA_Unit_Hero_Viper
or CDOTA_Unit_Hero_DrowRanger
)
from manta.
The ClassName is "CDOTAPlayer", but we can get the "m_iPlayerID" from this PacketEntity !
Thanks a lot !
from manta.
Related Issues (20)
- TalentTree
- Players Keystroke data HOT 2
- How to get permanent buffs? HOT 11
- Parser will sometimes return wrong captain data HOT 1
- How can i get information of lane, rank, max damage ability player?
- How to get player's mouse movement event
- Data tables
- Question about readUBitVar HOT 1
- Find out who used glyph HOT 1
- failed to parse demo HOT 1
- How to get useful doc HOT 12
- nextByte: insufficient buffer (24 of 23) HOT 2
- Nil pointer deref
- how can i get conclusion of match? HOT 1
- how to add function to callback.go?
- what is "TargetName" in CMsgDOTACombatLogEntry mean HOT 1
- how to get somthing about damage in CombatLog? HOT 1
- combatlog absence HOT 4
- Support for new types in CDOTABaseAbility entity type
- no callback from OnCMsgDOTACombatLogEntry for 7.36 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manta.