Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: How to know when the game was loaded?  (Read 2423 times)

0 Members and 1 Guest are viewing this topic.

Dionysius

  • Frequent poster
  • ****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 361
    • View Profile
    • On the Tracks of Dinosaurs
How to know when the game was loaded?
« on: May 21, 2008, 09:25:22 AM »

Can I to know from script is the game loaded or started from the begining?
Is there something like this
Code: [Select]
Game.IsLoadedor
Code: [Select]
Game.IsLoaded()?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: How to know when the game was loaded?
« Reply #1 on: May 21, 2008, 09:55:39 AM »

The game triggers an "AfterLoad" event after loading a saved game. You could set some variable in this event.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.036 seconds with 23 queries.