![]() |
SCP - Containment Breach
|
Functions | |
| CB::Event | get_First () property |
| CB::Event | get_Last () property |
| CB::Sound | LoadSound (CB::Event@ event, string file, int num=0) |
| CB::Event | Create (string eventName, string roomName, int id, float probability=0) |
| Creates an event. | |
| float | UpdateElevator (float state, CB::Door@ door1, CB::Door@ door2, B3D::Entity@ room1, B3D::Entity@ room2, CB::Event@ event, bool ignorerotation=true) |
| Updates an elevator. | |
| void | UpdateAll () |
| void | UpdateDimension1499 () |
| void | UpdateEndings () |
| void | IsIn914Input (CB::Room@ room, float x, float y, float z) |
Creates an event.
| eventName | The name of the event to be created. |
| roomName | The name of the room the event is to be created in. |
| id | The event will be created in the id-th instance of the specified room. Only applicable if probability is 0. |
| probability | The probability that the event will spawn in each instance of the specified room. |
| float CB.Event.UpdateElevator | ( | float | state, |
| CB.Door@ | door1, | ||
| CB.Door@ | door2, | ||
| B3D.Entity@ | room1, | ||
| B3D.Entity@ | room2, | ||
| CB.Event@ | event, | ||
| bool | ignorerotation = true ) |
Updates an elevator.
| state | The room state to serve as the previous elevator state. |
| door1 | The first elevator door. |
| door2 | The second elevator door. |
| room1 | The pivot the first elevator room should use. |
| room2 | The pivot the second elevator room should use. |
| event | The event the elevator is associated with. |
| ignorerotation | Whether or not to ignore the rotation of the pivots. |