Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Delay in calling your methods  (Read 508 times)

0 Members and 1 Guest are viewing this topic.

Lazov

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 29
    • View Profile
Delay in calling your methods
« on: December 29, 2018, 09:42:36 PM »

Hi guys!

I noticed that the methods I created (or overridden) delay the execution of the script when I call them. What is the reason?
This is noticeable on weak smartphones.

Example:
Code: [Select]
method StartMusic(Filename, Looping, LoopStart) {
  if (this.GetMusic() != Filename) this.PlayMusic(Filename, Looping, LoopStart);
}
Logged
 

Page created in 0.672 seconds with 22 queries.