CreateDoor

From Onset Developer Wiki
Revision as of 17:06, 7 October 2019 by BlueMountains (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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__