Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

restrictAction

Description

Restricts an action of this ID.

Arguments

1 string id

the ID of the action to restrict.

Example

interactionRestrictor:restrictAction("myActionName")
-- now any further calls to :canPerformAction will return false