Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Chyby ve scriptu  (Read 4956 times)

0 Members and 1 Guest are viewing this topic.

Michal

  • Guest
Chyby ve scriptu
« on: August 25, 2003, 01:24:55 PM »

Logged

Michal

  • Guest
Re:Chyby ve scriptu
« Reply #1 on: August 25, 2003, 01:30:02 PM »

Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5677
    • View Profile
    • Dead:Code Site
Re:Chyby ve scriptu
« Reply #2 on: August 25, 2003, 01:53:51 PM »

Jakou chybu to hlasi? Nemuzu to ted tady zkouset...
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

michal-SanDiego

  • Guest
Re:Chyby ve scriptu
« Reply #3 on: August 25, 2003, 02:36:00 PM »

15:33: Scanning packages...
15:33:   Registered 0 files in 0 package(s)
15:34: Compiling script 'C:\Program Files\WME DevKit Beta\projects\doktor\data\entities\babka\babka\babka.script'...
15:34:   Error@line 5: Invalid character
15:34: Compiling script 'C:\Program Files\WME DevKit Beta\projects\doktor\data\entities\babka\babka\babka.script'...
15:34:   Error@line 5: syntax error
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5677
    • View Profile
    • Dead:Code Site
Re:Chyby ve scriptu
« Reply #4 on: August 25, 2003, 04:11:27 PM »

Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Michal

  • Guest
Re:Chyby ve scriptu
« Reply #5 on: August 25, 2003, 04:46:23 PM »

Oka diky moc.Cau:)
Logged

michal-SanDiego

  • Guest
Re:Chyby ve scriptu
« Reply #6 on: August 25, 2003, 04:53:06 PM »

A jeste neco:)Jak mam prosimte udelat to,ze kdyz vyberu otazku a baba odpovi tak aby mi to potom znova zobrazilo otazky a ne aby se rozhovor ukoncil
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5677
    • View Profile
    • Dead:Code Site
Re:Chyby ve scriptu
« Reply #7 on: August 25, 2003, 05:54:50 PM »

Treba nejak takhle:

Code: [Select]
#include "scripts\base.inc"

var babka = Scene.GetNode("babka");

on "LeftClick"
{
  var BeziDialog = true;
 
  while(BeziDialog)
  {
    Game.AddResponse(1, "Dobr den");
    Game.AddResponse(2, "Jak se vede?");
    Game.AddResponse(3, "U musm jt");
 
    var Res = Game.GetResponse();
 
    actor.Talk(Game.LastResponse);
 
    switch(Res)
    {
      case 1:
        babka.Talk("Dobr den");
      break;
 
      case 2:
        babka.Talk("Dobre");
      break;
 
      case 3:
        babka.Talk("Cau");
        BeziDialog = false;
      break;
    }
  }
}
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Michal

  • Guest
Re:Chyby ve scriptu
« Reply #8 on: August 25, 2003, 06:05:34 PM »

Diky moc.Cau:)).Cau:))
Logged
 

Page created in 0.282 seconds with 23 queries.