SDK-Update Patch 1.3 (EM4)

Information: The EMERGENCY community board is completely free and is financed by advertisement. Please deactivate adblocker if you use this site. Thank you!
  • Information about the SDK update patch 1.3 for EMERGENCY 4.
    == SDK-Update für Patch 1.3 ==
    At the request of the community, Patch 1.3 has been added to EMERGENCY 4 in order to add new scripting features that offer new possibilities for scripting.


    1 Camera


    Code
    void Camera::StartCamShake(float duration_, float strength_, bool localOnly_ = true);

    2 FireObject


    Code
    float FireObject::GetEnergy() const;
    void FireObject::SetEnergy(float energy_);

    3 Object


    4 GameObject


    5 Input


    Code
    bool Input::LShiftPressed();
    bool Input::RShiftPressed();
    bool Input::LCtrlPressed();
    bool Input::RCtrlPressed();

    6 Interface


    Code
    void ScriptInterface::HideMouseCursor(bool hide_);

    7 OpenHouse


    Code
    int OpenHouse::GetChildID(int groupID_) const;
    void OpenHouse::UpdateOpenCloseState();

    8 Person


    9 Vehicle


    Code
    void Vehicle::SetMaxEnergy(float energy_);
    void Vehicle::PlayAnimOpenDoor(const char *name_, float time_, GameObject *Caller_=NULL);
    void Vehicle::PlayAnimCloseDoor(const char *name_, float time_, GameObject *Caller_=NULL);
    int Vehicle::GetNumUsedConnectors() const;
    bool Vehicle::RemoveTrainWaggon(GameObject *waggon_);
    int Vehicle::GetNumTrainWaggons();
    void Vehicle::SetWaterStreamStartWidth(float width_);
    float Vehicle::GetWaterStreamStartWidth() const;
    void Vehicle::SetWaterStreamEndWidth(float width_);
    float Vehicle::GetWaterStreamEndWidth() const;

    10 Weather


    Code
    void Weather::SetHail(bool hail_);
    bool Weather::GetHail();