Difference between revisions of "Lua:Flags"
From Fortress Forever Wiki
Jump to navigationJump to searchSqueek-10494 (talk | contribs) |
Squeek-10494 (talk | contribs) |
(No difference)
|
Revision as of 19:05, 25 February 2008
Team
Returns a specific team's ID
|
Example
local player = CastToPlayer( touch_entity )
if player:GetTeamId() == Team.kRed then
...
end
Grenade
Returns a specific grenade's ID
|
Example
local grenade = CastToPlayer( explode_entity )
if grenade:Type() == Grenade.kNormal then
...
end