Staredit Network

Staredit Network -> SCMDraft -> 'Commenting' triggers without using strings?
Report, edit, etc...Posted by Daedalus on 2006-08-22 at 07:29:17
Greetings, I've only recently started to use SCMDraft and I'm still in the learn-all-the-buttons fase. I really like the text based trigger editor but I've got a question about ussing comments.
The way SCMDraft displays all the triggers it is not neccesary to use comments to decrease the 'size' of the trigger and for easy navigation like in StarForge. However I still want to comment certain triggers so I can quickly see which trigger it is and if I should go up or down to find the trigger I'm searching for. The map I'm working on is very string extensive by itself so I don't want to use of extra strings for comments.

I was wondering if there was any way to add some sort of comment to a trigger without using a string? Isn't there a way to 'abuse' a condition/action which does nothing except that you can use it to add your comment in the condition/action?

Thanks in advance.
Report, edit, etc...Posted by IsaT on 2006-08-22 at 17:58:03
The only way i can think of to save strings in commens (not remove them) is to make 1 comment for each type of trigger you do, then group then together. All the triggers in that group would then have a comment as "", so it doesnt use a string

so...

"---Spawning triggers---"
""
""
""
"---Kill triggers---"
""
""

would make for easy navigation, but you might have to check a few triggers to find the one you want, although that is MUCH better than going through every one

Thats all I can think of at the moment...
Report, edit, etc...Posted by Daedalus on 2006-08-22 at 19:52:09
Yes I'm already partly using that technique but the problem is that I alreayd got over 4000 lines of codes and I've only made a small (but good) beginning. I've got quite a lot of things which I can easily 'catagorize' with the method you mentioned. On the other hand I've also got a huge lot of complicated triggers which do need an unique way of identifying them; it sometimes takes minutes to decypher of what the heck they are actually doing.

I don't really see the point of adding a comment with just "", unless you want to use it to identify that the specific trigger belongs to a certain 'catogary' you are adding an extra line of code for nothing?

ps: Forgive my spelling, I'm in an anti-spelling check mood wink.gif
Report, edit, etc...Posted by LegacyWeapon on 2006-08-22 at 23:30:58
Don't worry about the string limit. I doubt you'll reach it with SCMDraft2. If you do, just delete your comments.
Report, edit, etc...Posted by Daedalus on 2006-08-23 at 18:50:56
I've searched a bit can't really find the string limt. What is the string limit with Draft?

Btw, if the string limit is higher with Draft then with other editors, wouldn't you have a problem when you use a different editor to open a map with a to high string amount?
Report, edit, etc...Posted by IsaT on 2006-08-23 at 19:10:02
I beleive that happened to me once, suddenly the objectives were Player 4 and marines were called Hypers... so i guess it does eh?
Report, edit, etc...Posted by evolipel on 2006-08-23 at 19:26:22
QUOTE(LegacyWeapon @ Aug 22 2006, 10:30 PM)
Don't worry about the string limit. I doubt you'll reach it with SCMDraft2. If you do, just delete your comments.
[right][snapback]548988[/snapback][/right]

...not to mention the fact that SCMD2 disregards the "string limit" and lets you go over it if you have to automatically.
Report, edit, etc...Posted by Daedalus on 2006-08-23 at 20:52:08
Doesn't Starcraft has a set string limit build in its engine like the set sprite limit?
Report, edit, etc...Posted by Dark.Xcalibur on 2006-08-24 at 13:13:39
ok this is off topic but just today i messed up on scmdraft i misplace a pure sprite and i dont know how to remove it well i did undo but i put a lot of them and undo only gets rid of some of them do u know how to get rid of the sprites???? ranting.gif
Report, edit, etc...Posted by evolipel on 2006-08-24 at 16:35:44
QUOTE(Daedalus @ Aug 23 2006, 07:51 PM)
Doesn't Starcraft has a set string limit build in its engine like the set sprite limit?
[right][snapback]549632[/snapback][/right]

Nope. That's only a StarEdit limitation for some reason.
Next Page (1)