PlatformStanding (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator
page for PlatformStanding
>Camoy
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|
<onlyinclude>{{Event|name = PlatformStanding
|<onlyinclude>{{Event|name = PlatformStanding
|arguments = [[Bool]] ''isPlatformStanding''
|arguments = [[Bool]] ''is platformstanding''
|description = Fired when the humanoid's PlatformStand property is changed.
|description = Fired when the humanoid's PlatformStand property is changed.
|object = Humanoid
|object = Humanoid
|}}</onlyinclude>
}}</onlyinclude>
|}
 
{{clear floats}}
 
{{Example|<pre>
{{Example|<pre>
function onPlatformStanding( isPlatformStanding )
function onPlatformStanding( isPlatformStanding )
Line 24: Line 25:


</pre>}}
</pre>}}
[[Category:Events]]

Latest revision as of 20:06, 31 December 2010

PlatformStanding ( Bool isPlatformStanding )
Description Fired when the humanoid's PlatformStand property is changed.
Member of: Humanoid


Example
function onPlatformStanding( isPlatformStanding )
   if isPlatformStanding then
      print "The player is PlatformStanding"
   else
      print "The player is not PlatformStanding"
   end
end

humanoid = game.Players.LocalPlayer.Character.Humanoid

humanoid.PlatformStanding:connect( onPlatformStanding )



humanoid.PlatformStand = true --> The player is PlatformStanding