AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Problem in Dota 2 scripting (https://forums.alliedmods.net/showthread.php?t=249815)

Equiment 10-12-2014 16:02

Problem in Dota 2 scripting
 
Good day!
Excuse me, if created topic in the wrong section.
I hooked death event in Dota 2 and server all time give me 0 userid - console (so it think that died console, not player). Tried events "dota_player_kill" and "dota_player_killed".
Can someone help me?

Equiment 10-16-2014 17:14

Re: Problem in Dota 2 scripting
 
Someone knows how to fix it?

Equiment 10-29-2014 17:11

Re: Problem in Dota 2 scripting
 
I n e e d y o u r h e l p.

Powerlord 10-29-2014 17:16

Re: Problem in Dota 2 scripting
 
If you're using player_death, have you tried using dota_player_kill instead?

Equiment 10-30-2014 12:10

Re: Problem in Dota 2 scripting
 
Powerlord, yep >
Quote:

Tried events "dota_player_kill" and "dota_player_killed".

psychonic 10-30-2014 12:19

Re: Problem in Dota 2 scripting
 
entity_killed

Equiment 10-30-2014 18:36

Re: Problem in Dota 2 scripting
 
psychonic, don't work ;(

psychonic 10-30-2014 19:35

Re: Problem in Dota 2 scripting
 
Quote:

Originally Posted by Equiment (Post 2218084)
psychonic, don't work ;(

I respectfully disagree.

Equiment 10-31-2014 03:08

Re: Problem in Dota 2 scripting
 
Psychonic, it return 0 userid

psychonic 10-31-2014 07:41

Re: Problem in Dota 2 scripting
 
There is no "userid" field in that event.

Code:

    "entity_killed"
    {
        "entindex_killed"    "long"
        "entindex_attacker"    "long"
        "entindex_inflictor"    "long"
        "damagebits"        "long"
    }



All times are GMT -4. The time now is 19:06.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.