Has anyone been able to set up a pre-set obj_sentrygun and implemented a way to have it switch teams? The SDK says you can use a TeamNum input (2 for Red, 3 for Blue) to toggle who controls it, but I'm not having any luck getting that to work.
Interesting concept. I have played with them a bit. I'll try it right now. Edit/ I tried and there doesn't seem to be an output to change the team. I entered in my timer to OnSetupFinished SetTeamNum 3 and it did not change as it 'should' -Bobby
I've not tried to activate it from a trigger, but from the console I've successfully used the SetTeam input (not SetTeamNum). The sentry doesn't change colour (until it's destroyed!), but will then target the opposite team. I regularly use this to test the effectiveness of sentry placements on my map. Previous to the SDK update with placable sentries there was a bug in the sentry AI: if you changed the sentry's team it would target itself