Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Chci aby Actor přestal mluvit i když znovu najedu do této stejné scény!JaknaTo?  (Read 4027 times)

0 Members and 1 Guest are viewing this topic.

sorrow

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 109
    • View Profile

#include "scripts\base.inc"

// here comes the stuff which initializes the scene

actor.SkipTo(400, 400);
actor.Direction = DI_DOWN;
actor.Active = true;


Game.PlaySound("Music\Narcounaven.ogg");
Game.Interactive =    true;
actor.Talk("To je divné dveře jsou otevřené a Morty nikde!");
actor.Talk("Kolik Nocí jsme strávili s Mortym a Leonem v tomhle bytě se nedá ani spočítat");
actor.Talk("Morty je prvotřídní ožrala - za den vypije 10 lahváčů");
actor.StopTalking();


////////////////////////////////////////////////////////////////////////////////
// scene state
global StateMortybyt;


// default values
if(StateMortybyt==null)
{
  StateMortybyt.Visited = false;
  // add scene states here
}



////////////////////////////////////////////////////////////////////////////////
// setup scene according to state variables



////////////////////////////////////////////////////////////////////////////////
if(!StateMortybyt.Visited)
{
  StateMortybyt.Visited = true;

  // this is our first visit in this scene...
}
Logged
 

Page created in 0.223 seconds with 23 queries.