Fortress Forever

Go Back   Fortress Forever > Help & Technical > FF Technical Support

Reply
 
Thread Tools Display Modes
Old 10-21-2007, 01:17 AM   #1
[P]Infidel
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
SDK calls - ChangeTeam

I'm writing an addon that includes the ability to swap players to the other team.

It works except ChangeTeam seems to not perform cleanup that would normally occur on buildables. Sentry guns, dispensers, and detpacks all stay and turn on their former team with the player.

I have worked around this by having the client commands detsentry/detdispenser called right before the switch. However, this won't work when the engineer is dead, and it does nothing about live detpacks. These don't come up often but I'd like to code this in a cleaner way.

Anyone know which calls I can make to remove buildables in the way that teamswitching manually does?
[P]Infidel is offline   Reply With Quote


Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:26 PM.


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