[CS:S] Question regarding domination/nemesis notifications
Question: The notification regarding a player is dominating someone or who your nemesis now is, is that done all client side? A quick look in the CS:S game events page leads me to believe this is the case.
|
Re: [CS:S] Question regarding domination/nemesis notifications
I would try to find something in netprops, this sounds like something that can be there..
|
Re: [CS:S] Question regarding domination/nemesis notifications
m_bPlayerDominated and m_bPlayerDominatingMe, bool array sendprops.
|
Re: [CS:S] Question regarding domination/nemesis notifications
Quote:
would the m_bPlayerDominatingMe hold the client id or user id for the player that is dominating said player? |
Re: [CS:S] Question regarding domination/nemesis notifications
Neither. It holds a true/false for every possible client entity index.
You'd want to set both. Code:
SetEntProp(dominator, Prop_Send, "m_bPlayerDominated", true, 1, dominatee); |
Re: [CS:S] Question regarding domination/nemesis notifications
so then I would get the victim and attacker from the event player_death, and check those 2 net props to see if the victim is being dominated?
because if it were the other way around, where i can set it, wouldn't that interfere with existing code that already defines whether or not a player is being dominated? |
All times are GMT -4. The time now is 07:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.