effect1time


(jaybird) #1

I’m trying to abuse effect1time, etc, for players and flag them out. From what I could tell, it’s not used for clients at all, but for et_missile type objects mainly. It works well for players besides yourself, in which case it is always set to zero, which obviously leads me to believe that it isn’t transmitting. It doesn’t make sense to me that they would send that variable over the network for all entitities but your own. Is it possible to use these variables for ALL clients including yourself?


(Jaquboss) #2

effect1time IS transmitted, i use it in my new mod, and it doesnt do any problem…
Best is when you set this value from some playerstate value in BG_PlayerStateToEntityState()
I am wondering what you do wrong …


(jaybird) #3

I’m not sure. If I set the value in the game code (anywhere really, besides the BG_ stuff), it gets to cgame, no problem, except for the playing client. All the other clients are fine. I was looking for a spot where it resets it or assigns, but I had no luck.


(Jaquboss) #4

Hmm, weird, strabge … but if you need to get it to client you have client mod too, so setting up in BG wont hurt…