Controller:IsPlayerControlled

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxIsPlayerControlled( * If you want to check if it's controlled by a player, AND that player is someone else than a specific one, pass in that player number here. )
Description:
Shortcut to indicate if in player input mode.
ReturnsWhether input mode is set to player input.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools