Jump to content
Sign in to follow this  
svrec

Active text?

Recommended Posts

Can your help me with Active Text?I want lead out

active text on display in time game.I know that

it is necessary define in description file but I

have more problems with define classes in

description.I understand only active button but

on exemple mission.Thanks!

p.s.Sorry for my english.If it was on forum,pleas

help with searches smile.giftounge.gif

Share this post


Link to post
Share on other sites

I don't understand what you want to do, do you want text on screen to be updated every few seconds or something similar?

RED

Share this post


Link to post
Share on other sites

It probably like this main menu.Text has my coordinates and script has be fond of this text.

Share this post


Link to post
Share on other sites

I understood how must look description.ext with

class ActiveText but I have question.I explain

that I want

>var1

>ActiveAnswer1

>var2

question1

>ActiveAnswer1 >var3

I think that it one can destrain in sqs fail with

help commands lbSetCurSel [idc, _index],

ctrlSetText [idc, "text"] and other not in

description.ext.But I don't understood how?

I can receive only one question and one answer.

How make develop dialoge? Pleas,help.Thx smile.gif

Share this post


Link to post
Share on other sites

It's hard to guess what you want, but could you explain what var1, var2, var3 are? Are they controls i.e. Static Text?

Perhaps you should post your dialog class (not the whole description.ext!wink.gif or a picture of your dialog, so I know better what your problem is.

Share this post


Link to post
Share on other sites

Var1,var2,var3 perhaps anything.Static text or exec sqs fail.

I don't know how can receive two active string.For example

Question1(clik on this string and string delete and appear

two active string)

Answer1

Answer2

I define in description only two class activetext.Perhaps

them probably more.In sqs fail I use command

ctrlSetText [100, "Question"]

buttonSetAction [100, "ctrlSetText [100, ""Answer""]"]; But

this command lead out only one string:"Answer".I don't know

how lead out second string (in description it class TALK2)

It must be looks like quest-game.

...............

class Dialog

{

idd = -1;

movingEnable = true;

controlsBackground[] = { };

objects[] = { };

controls[] = { TALK1,TALK2};

class TALK1: RscActiveText

{

idc = 100;

style = ST_LEFT;

x = 0.05;

y = 0.7;

w = 0.9;

h = 0.06;

text = "";

action = "";

};

class TALK2 : RscActiveText

{

idc = 101;

style = ST_LEFT;

x = 0.05;

y = 0.7;

w = 0.5;

h = 0.06;

text = "";

action = "";

};

};

it all.

Share this post


Link to post
Share on other sites

Pleas,cite example work wiht components

LISTBOX

TOOLBOX

CHECKBOXES

PROGRESS

TREE confused.gif

Share this post


Link to post
Share on other sites

Is it something you could do with 'Addaction' in a script ?

In case, this has to be in a script.

Things like you seem to be searching for are usually made for artillery 'requests' but are done with the radio choices.

Could be done with menu, though ....

The worst part (to help you ) is understanding what you want to do. confused.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×