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

How to OnLoad?


Best Answer Feretorix , 14 November 2015 - 11:00

Well yes, there is OnLoad api for GoS, which get's executed around 300 times (depending on all objects in the game) so you can process them in a table.

Go to the full post »


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

#1
onfinger

onfinger

    Member

  • Members
  • 22 posts

Hi guys,

 

Is there a way or similar for the OnLoad?
Im trying to rewrite ebola scripts...

 

possible?

 

Thanks!


  • 0

#2
Feretorix

Feretorix

    Administrator

  • Administrators
  • 3,251 posts

I don't really understand what you're trying to execute and achieve.


  • 0

#3
ButterSmooth

ButterSmooth

    Advanced Member

  • Members
  • 710 posts

I don't really understand what you're trying to execute and achieve.

BoL has a OnLoad function i think. He is trying to emulate it using GoS and using it on GoS Doge
  • 0

#4
Feretorix

Feretorix

    Administrator

  • Administrators
  • 3,251 posts
✓  Best Answer

Well yes, there is OnLoad api for GoS, which get's executed around 300 times (depending on all objects in the game) so you can process them in a table.


  • 0

#5
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts
just dont put it inside OnTick/OnDraw and the action will happen once you load the script. just like OnLoad.
  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users