Staredit Network

Staredit Network -> StarForge -> Dispaly Text
Report, edit, etc...Posted by r[s]t on 2005-08-04 at 21:55:19
2 is always display? Wth?
4 is always display off? wth agin?


HOw do you make display text for number of seconds like in normal editors? and extra?

explain this please someone
Report, edit, etc...Posted by UED77 on 2005-08-04 at 22:53:14
The syntax is "DisplayText(text, flag);"

EDIT: Ack! It was late when I posted this, but I have no idea how I thought DisplayText had a time parameter. Sorry for the mistake. See? That's what happens when you spend all day testing features of SC.

The first parameter is the text.

The second parameter is '4' by default for actions that don't display text, and works as the "Always Display" flag for ones that do. For actions thet display text with no option of "Always Display", this is '0'.

EDIT: More in the following post...

UED77
Report, edit, etc...Posted by r[s]t on 2005-08-05 at 14:14:14
in starforge its DisplayText(text,alwaysdisplay);

explain please.

So in the slot text i write in the time? THen where the hell is the text? or am i wrong?
Report, edit, etc...Posted by UED77 on 2005-08-05 at 14:46:13
No, you are not wrong. I was exhausted, and apparently quite delusional as well pinch.gif

DisplayText doesn't take a time parameter. Instead, the engine judges the time the text needs to be displayed by its character length.

If you want text to only display for a certain time, use Transmission(); instead.

Transmission(Unit, Location, "campaign\expzerg\zerg08\staredit\wav\nullsound.wav", SetTo, Time, "Text", 4);

Replace the variables with meaningful values, but leave the "nullsound.wav" entry in.

UED77
Report, edit, etc...Posted by r[s]t on 2005-08-11 at 00:51:39
okay then how would i do this? all with transmissins and i have hyper trigs in map.

example

Hey wassup bob?

Wait(few seconds)

OMG hi lol

wait agin

yea i has ice cream for breakfast


Waits would conflict. Transmission will display te text for X time, but wont know when to dispaly next set of text.

Or i could use transmission and then antoher transmission filled with blank lines, but with hyper triggers that would display all the line at the same time right?



Next Page (1)