Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

[08 March 2016] Added DeleteFile, PlaySound, StopSound, GetFPS, IsSubscriber, GetGroup, BlockF7OrbWalk, BlockF7Dodge.


  • This topic is locked This topic is locked
No replies to this topic

#1
Feretorix

Feretorix

    Administrator

  • Administrators
  • 2,492 posts
DeleteFile("filename"); --attempts to delete a file in subfolders of GoS (sandboxed), returns a boolean on success/failure.
 
PlaySound("filename"); --attempts to play a sound from a wav file, returns a boolean on success/failure.
 
StopSound(); --stops the currently played sound.
 
GetFPS(); --returns an integer with the current FPS game rate.
 
IsSubscriber(X,X); --is an API for Developers. If you're in the proper dev group, you may ask me questions about it.
 
GetGroup(); --returns a string with the current user group in the forum.
 
BlockF7OrbWalk(true/false); -- blocks/unblocks the orbwalk and spellcast of F7 menu in Combo tab.
 
BlockF7Dodge(true/false); -- blocks/unblocks the auto-dodge in the F7 Survival tab.


SOUNDS_PATH - variable for grabbing the sounds path in GoS.
  • 2




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users