Difference between revisions of "CreateDoor"

From Onset Developer Wiki
(Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|Creates stateful doors which can be interacted with by players by pressing 'E'. Some of them are physics doors meaning they are...")
(No difference)

Revision as of 19:06, 7 October 2019

CreateDoor

Type: Function
Context: Server
Introduced: v1.0

Description

Creates stateful doors which can be interacted with by players by pressing 'E'. Some of them are physics doors meaning they are pushed open by running against them.

Syntax

CreateDoor(modelid, x, y, z, rotation [, bEnableInteract])

Parameters

  • modelid
    __EDIT_ME__
  • x
    __EDIT_ME__
  • y
    __EDIT_ME__
  • z
    __EDIT_ME__
  • rotation
    __EDIT_ME__
  • bEnableInteract (optional)
    __EDIT_ME__

Return Value

  • __EDIT_ME__

Example

__EDIT_ME__

See also

__EDIT_ME__