Got it working now, in a eh rather weird way, but it works fine at least 
the check for grenade being thrown or not

I basically looked at how IsTeamplay works
and basically added WasThrown and SetThrown to hl2mp_gamerules
the SetThrown is then set in the weapon file and gets it in the grenade 
file, have it in the delay think function cause otherwise it only checks 
once, and that doesn't really help:P

buuut, in the code is then: StopFollowingEntity();
but it keeps folowing the player anyway.
So I assume it either doesn't realize what it's following and thus it 
doesn't do anything orrr the velocity needs to be set again.

Also effects are created after thrown but the grenade trail has turned 
very fat for some reason, while otherwise it was normal. could have to 
do with it being stuck of trying to throw but wanting to keep following 
at the same time?

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to