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: text vzdy na stejnem miste  (Read 2483 times)

0 Members and 1 Guest are viewing this topic.

rainbof

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
    • View Profile
text vzdy na stejnem miste
« on: February 16, 2009, 09:38:00 AM »

Pisu adventurku. Adventura nema a nebude mit zadneho actora, presto pri zkoumani predmetu pravym tlacitkem, bych chtel aby se mi texty zobrazovaly v jednom miste (pozdeji na to vyhradim graficky prostor). Nejak nevim jak to poresit. zkousel jsem si tam vlozit entitu a pak dat entita.Talk("neco") ale to nefunguje. v demu jsem nenasel reseni. (tam je sice entita ten oldguy ale tomu se to zobrazuje nad hlavou)
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: text vzdy na stejnem miste
« Reply #1 on: February 16, 2009, 10:43:25 AM »

Nejaka entita tam bude muset byt, byt skryta, aby mel kdo mluvit.
Na ovlivneni pozice titulku pak existuje nekolik vlastnosti, zacinajicich "Subtitles" (viz dokumentaci).

Code: WME Script
  1. entita.SubtitlesPosRelative = false; // chceme absolutni pozici na obrazovce
  2. entita.SubtitlesPosX = 100; // X pozice *prostredku titulku*
  3. entita.SubtitlesPosY = 100; // Y pozice titulku
  4. entita.SubtitlesWidth = 800; // sirka titulku
  5.  
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.051 seconds with 21 queries.