Staredit Network

Staredit Network -> StarForge -> Help with comments on Starforge
Report, edit, etc...Posted by Yenku on 2005-02-06 at 23:56:17
When i try to make a comment for the triggers it always says: error (whatever i wrote) expected "or",

WTF DOES THIS MEAN? i cant give my triggers comments now...
Report, edit, etc...Posted by Turin on 2005-02-06 at 23:59:47
With all strings to be displayed (DisplayText or Comment) you need to state it like Comment("text/string here"); or DisplayText("text/string here", 4); and then it will work. If you look at the string table on the right it has all the strings in quotes, too, and you can double click them to be put there instead.
Report, edit, etc...Posted by Yenku on 2005-02-07 at 00:05:22
QUOTE(Turin @ Feb 6 2005, 11:59 PM)
With all strings to be displayed (DisplayText or Comment) you need to state it like  Comment("text/string here"); or DisplayText("text/string here", 4); and then it will work. If you look at the string table on the right it has all the strings in quotes, too, and you can double click them to be put there instead.
[right][snapback]140118[/snapback][/right]

In the DisplayText("text/string here", 4)
can you explain to me what u mean by string here? and what the 4 is for...
Report, edit, etc...Posted by LordVodka on 2005-02-07 at 00:31:07
"text/string name" = its the filiing system (so to speak) in editors Just think of it as the text your typing for your comment.
4 = in Display Text trigs and such, thats the amount of type it stays on for.
Report, edit, etc...Posted by DT_Battlekruser on 2005-02-07 at 00:32:17
If you type Displaytext("text",4);

It will show "text" on the screen.


The 4 is the starforge integer equivalent of saying "display for current player, [always display checked]"
Report, edit, etc...Posted by Yenku on 2005-02-07 at 11:52:14
QUOTE(DT_Battlekruser @ Feb 7 2005, 12:32 AM)
If you type Displaytext("text",4);

It will show "text" on the screen.
The 4 is the starforge integer equivalent of saying "display for current player, [always display checked]"
[right][snapback]140138[/snapback][/right]

thanks guys now i understand, and now not all my triggers say "no comment"
Report, edit, etc...Posted by Heimdal on 2005-02-07 at 18:14:18
DT is correct. The number in the DisplayText function is NOT the amount of time to display the text for. That is determined by the number of characters in the string.

Notice that the function prototype is DisplayText(Text, AlwaysDisplay);
Report, edit, etc...Posted by DT_Battlekruser on 2005-02-07 at 19:35:30
Pity there isn't a trigged to display it for a set amount of time...
Report, edit, etc...Posted by Heimdal on 2005-02-07 at 21:43:44
True. You can always extend the time by placing invisible text after the end of whatever you display. This is also a good way to get stacked text to line up correctly.
Report, edit, etc...Posted by Yenku on 2005-02-15 at 18:17:12
thx guys i understand, i got the info, thanks for your help. lol its just that now im trying to master triggers on SF like DT told me too when i joined, thanks for the tip DT, its so much easier
Next Page (1)