Re: Function for which team I'm on.
self.Team is a number, normally within but not restricted to 1-4. These relate directly to the team colour.
Code:
function Update(self)
if self.Team == 1 then
print("Ouch! That's gotta hurt!")
elseif self.Team == 2 then
print("Ooh! They went there!")
elseif self.Team == 3 then
print("No way! That was unexpected!")
elseif self.Team == 4 then
print("Well, now we know how NOT to do it.")
else
print("Another one bites the dust!")
end
end