1. Articles
  2. Forum
    1. Dashboard
    2. Mitglieder
      1. Search Members
      2. EM-Hub Team
    3. FAQ
  3. Filebase
  4. Lexicon
  5. Gallery
  • Login
  • Register
  • Search
SDK
  • Everywhere
  • SDK
  • Articles
  • Pages
  • Forum
  • Files
  • Lexicon
  • FAQ
  • Gallery
  • Modding Team
  • Modding Teampages
  • More Options
  1. Emergency Hub
  2. Lexicon
  3. EMERGENCY 4
  4. SDK

Audio

  • Antiphon
  • November 12, 2023 at 3:29 PM
  • November 12, 2023 at 3:30 PM
  • 1,690 times viewed
  • Code
    namespace Audio
    {
    	int PlaySample(const char *File_);
    	
    	int PlaySample3D(const char *File_, const Vector &Pos_, bool looping_ = false);
    	void PlaySample3D(int ref_, const Vector &Pos_, bool looping_ = false);
    	int PlaySample3DAndReplace(const char* Sample_, const char* Sample2_, const Vector &Pos_);
    	void UpdatePos(int ref_, const Vector &Pos_, const bool ImmediateUpdate_ = false);
    	void SetVolume(int ref_, float volume_);
    	
    	void StopSample(int ref_);
    
    	bool IsPlaying(int ref_);
    	void PlayVideo(const char *File_);
    	void SetMusicLevel(float Level_);
    	float GetMusicLevel();
    	void PlaySoundtrack(const char *Track_, float Level_=0.0f);
    	void StopSoundtrack();
    
    	bool PlayTextureVideo(const char *Texture_, const char *Video_, bool Loop_ = true );
    	bool StopTextureVideo(const char *Texture_);
    	bool IsTextureVideoPlaying(const char *Texture_);
    };
    Display More
    • Emergency4
  • Previous entry Actor
  • Next entry Camera
  • PDF

Categories

  1. EMERGENCY 5 / 2016 / 2017 / 20 11
    1. General 6
    2. Assets 1
    3. Mapping 1
    4. Prefabs 3
    5. Scripting 0
  2. EMERGENCY 4 49
    1. General 10
    2. Assets 6
    3. Mapping 4
    4. Prototypes 1
    5. Scripting 2
    6. SDK 26
  3. EMERGENCY 8
    1. Hilfestellungen 7
    2. Problemlösungen 1
  4. Emergency Hub 0
    1. Features 3
      1. Modding Teams 3

informations

  1. FAQ
  2. Privacy Policy
  3. Legal Notice

Community

  1. Recent activities
  2. Search Members
  3. Members
  4. Team

Über uns

Ein Communityprojekt von vielen bekannten Gesichtern aus der EMERGENCY-Szene, bestehend aus ehem. Mitgliedern des Forums, Moddern und Streamern.

Von der Community, für die Community!

Emergency Hub
Lexicon, developed by www.viecode.com
Powered by WoltLab Suite™
Style by Foxly