Difference between revisions of "Lua:Flags"
From Fortress Forever Wiki
Jump to navigationJump to searchSqueek-10494 (talk | contribs) |
Squeek-10494 (talk | contribs) |
||
Line 25: | Line 25: | ||
{{Lua:Flag|Grenade.kCaltrop|Caltrop grenades are no longer in the game}} | {{Lua:Flag|Grenade.kCaltrop|Caltrop grenades are no longer in the game}} | ||
{{Lua:Flag|Grenade.kNail|Nail Grenade (Soldier)}} | {{Lua:Flag|Grenade.kNail|Nail Grenade (Soldier)}} | ||
− | {{Lua:Flag|Grenade.kMirv| | + | {{Lua:Flag|Grenade.kMirv|Mirv grenade (HWGuy and Demoman)}} |
{{Lua:Flag|Grenade.kMirvlet|The four mini-grenades that come out of the Mirv grenade (HWGuy and Demoman)}} | {{Lua:Flag|Grenade.kMirvlet|The four mini-grenades that come out of the Mirv grenade (HWGuy and Demoman)}} | ||
{{Lua:Flag|Grenade.kConc|Concussion grenade (Scout and Medic)}} | {{Lua:Flag|Grenade.kConc|Concussion grenade (Scout and Medic)}} |
Revision as of 18:57, 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