Colobot Forum - International Colobot Community
The mystery of ismovie(); - Printable Version

+- Colobot Forum - International Colobot Community (https://colobot.info/forum)
+-- Forum: [Archive] New forum (2015-2019) (https://colobot.info/forum/forumdisplay.php?fid=76)
+--- Forum: Colobot: Gold Edition Basics (https://colobot.info/forum/forumdisplay.php?fid=58)
+---- Forum: Help (https://colobot.info/forum/forumdisplay.php?fid=61)
+---- Thread: The mystery of ismovie(); (/showthread.php?tid=912)



The mystery of ismovie(); - Quartofel - 03-25-2017

So, while I've been scavenging examining in-game Alien Wasp script I've came across mysterious ismovie(); command. I've briefly messed with it and found out... Nothing.
So, what does this command do? It's not returning '42', so it surely doesn't carry answer to life the universe and everything. SatCom doesn't contain any data about it too, so this command is unknown to NASA. Did wasps started developing their own programs? Maybe this little command was real reason behind first expedition's failure? What other commands are hidden in our plain sight?


RE: The mystery of ismovie(); - DavivaD - 03-25-2017

This function is used to check if a cutscene is currently playing in the game. Tongue

Example:
Code:
while ( ismovie() != 0 )  wait(1);

Effect:
Wait until the cutscene is over.


RE: The mystery of ismovie(); - Quartofel - 03-25-2017

Oh... That's...
Disappointing.


RE: The mystery of ismovie(); - RaptorParkowsky - 03-25-2017

Oh... Well... That's...
Just another CBOT command that need to be documented in our special page in SatCom.


RE: The mystery of ismovie(); - Simbax - 03-26-2017

Wait, it's not documented?!


RE: The mystery of ismovie(); - tomangelo - 03-26-2017

Looks like that, no help file in data and no path to it in sources.


RE: The mystery of ismovie(); - krzys_h - 03-27-2017

I'm sure I saw documentation for it somewhere... but maybe it was in one of the CeeBots