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: Mnemonicu velkej problem:)  (Read 4881 times)

0 Members and 1 Guest are viewing this topic.

Kevinekss

  • Guest
Mnemonicu velkej problem:)
« on: September 25, 2003, 05:35:09 PM »

Ahoj.Hele mam problem s tim scriptem,vsecho jsem Ti psal na icq,ale nemuzu ze zastihnout online a do zitra jsem slibil male demo na www.plnehry.cz jediny co me brzdi je ten script.Ani do skoly jsem kvuli tomu nesel:)

Cau
Logged

Kevinekss

  • Guest
Re:Mnemonicu velkej problem:)
« Reply #1 on: September 25, 2003, 05:43:38 PM »

Jinak pro ostatni to sem napisu,kdyby chtel nekdo pomoct.

mam entitu hak script pro hak je

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

global muzuvzithak;                              
 

          on "LeftClick"
               {  
                               actor.Talk("H
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5679
    • View Profile
    • Dead:Code Site
Re:Mnemonicu velkej problem:)
« Reply #2 on: September 25, 2003, 06:12:14 PM »

Mas tam docela hodne chyb. Pri porovnavani se musi pouzit == nikoliv = (rikal jsi, ze se ucis C, tam je to stejny). Taky pozor na to, ze se rozlisuji velka a mala pismena (active / Active).


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

global muzuvzithak;                              
 

on "LeftClick"
{  
  actor.Talk("H
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Kevinekss

  • Guest
Re:Mnemonicu velkej problem:)
« Reply #3 on: September 25, 2003, 07:48:28 PM »

Diky moc,no c se pomalu ucim,ale to vis mam navyky s delphi a tam presne to co delam spatne je dobre:)takze se omlouvam.Jinak diky za pomoc zkusim to.Cau Kevinekss
Logged

Kevinekss

  • Guest
Re:Mnemonicu velkej problem:)
« Reply #4 on: September 25, 2003, 08:45:05 PM »

Jinak jakse pouziva to IsTalking();    nejak takhle if IsTalking("rybar")
{
rybar.Talk("Ahoj");
}

nebo jak diky
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5679
    • View Profile
    • Dead:Code Site
Re:Mnemonicu velkej problem:)
« Reply #5 on: September 25, 2003, 09:03:22 PM »

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

Kevinekss

  • Guest
Re:Mnemonicu velkej problem:)
« Reply #6 on: September 25, 2003, 10:10:16 PM »

Diky :-)
Logged

Kevinekss

  • Guest
Re:Mnemonicu velkej problem:)
« Reply #7 on: September 25, 2003, 10:16:38 PM »

jeste do tretice:) v delphi se dela treba pro zapor if not    jak je to ve wme
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5679
    • View Profile
    • Dead:Code Site
Re:Mnemonicu velkej problem:)
« Reply #8 on: September 26, 2003, 08:53:41 AM »

Stejne jako v C, C++, Jave, JavaScriptu... Tj. pred podminku se da vykricnik.

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

Kevinekss

  • Guest
Re:Mnemonicu velkej problem:)
« Reply #9 on: September 26, 2003, 02:42:14 PM »

A jo:)dik
Logged
 

Page created in 0.161 seconds with 24 queries.