Staredit Network

Staredit Network -> SCMDraft -> TrigEdit FAQ
Report, edit, etc...Posted by LegacyWeapon on 2005-04-14 at 17:06:55
Saving Your Triggers
QUOTE
You need to press the "Compile" button.
user posted image



TrigEdit Syntax
[attachmentid=8351]


CUWP Slots
QUOTE
Look at the tabs of TrigEdit. There should be one that looks like this:

user posted image

Now to change the properties of the unit, you will need to enable the current slot you will be using. So you will need to delete the ';' marks from the beginning of the properties that are going to be used.

For example, if you are creating a Terran Marine with properties, you will need to enable the HP slot (because Marines have HP). If you were creating a Protoss High Templar with properties, you will need to enable the HP (hit points) slot, the EP (energy points) slot, and the SP (shield points) slot. That is because a Protoss High Templar has all these things. Make sure you set the slots to the proper percentage value (not hit points amount, percent of hit points amount).

Now where the FLAGS are is where you will be entering the properties. There are 5 flags you can use on a unit. They are:
BURROWED
HALLUCINATED
INVINCIBLE
INTRANSIT
CLOAKED

Now you enter these flags in seperated with a space.

To use these CUWP slots, you will need to refer to them in your trigger. The place where you write a number for the CUWP slot, you will write in the "Slot Number" + 1. This is because it is the first slot even though the it is labelled 0.

user posted image
Here you can see I am using a CUWP slot. I will refer to this slot as slot 1.



AI Script List
[attachmentid=13502]


Switch Renaming
QUOTE
CODE
Switch # - 1 "Name"


Example:
CODE
0 "OMFG NAME"
This names Switch 1 to be "OMFG NAME".

Report, edit, etc...Posted by axblader on 2005-04-14 at 18:49:11
very nice...time to replce my old txt. bangin.gif
Report, edit, etc...Posted by purple100 on 2005-04-14 at 23:02:38
My only complaint with Starforge and SCMDraft: needing syntax for triggers. I loved the original Staredit method of click and select. So much less confusing.
Report, edit, etc...Posted by ShadowBrood on 2005-04-15 at 02:49:03
Yeah, ask Camsys for their code on that and make it a plugin.
Report, edit, etc...Posted by LegacyWeapon on 2005-04-15 at 10:17:12
Update some stuff (Friday, 15 April 2005)
Report, edit, etc...Posted by SI on 2005-04-15 at 10:22:14
QUOTE(ShadowBrood @ Apr 15 2005, 01:49 AM)
Yeah, ask Camsys for their code on that and make it a plugin.
[right][snapback]188086[/snapback][/right]

yeah, cause like, camsys wrote staredit and shit.
Report, edit, etc...Posted by .Coko[CK] on 2005-04-16 at 10:14:22
Yeah, heard they did tongue.gif
Report, edit, etc...Posted by purple100 on 2005-04-17 at 23:25:38
I guess using trigs for text makes it INCREDIBLY simple to copy and make repetative trigger copies, but it would be nice to create a StarEdit-like interface too.
Report, edit, etc...Posted by .Coko[CK] on 2005-04-18 at 14:02:02
I'm working on it, feck off.
Report, edit, etc...Posted by Brother_Leader on 2005-05-16 at 19:11:36
i need help with the trigbeta. How do you make triggers with the plugin?
Report, edit, etc...Posted by LegacyWeapon on 2005-05-16 at 21:32:43
Read about the Syntax in the first post.

It should be in a format like this:
CODE
Trigger("Players"){

Conditions:

Condition statements here

Actions:

Action statements here

}

//-----------------------------------------------------------------//
Make sure the seperate each action/condition statement with a ';'
Report, edit, etc...Posted by Brother_Leader on 2005-05-26 at 22:37:26
does the triggers and conditions have to be real ones. Or can you make one up. like "scourge touches marine"?
Report, edit, etc...Posted by chuiu on 2005-05-26 at 22:42:10
Only real ones work, so you can only use real ones. Just because this is text based does not mean you can bend the rules and limitations a map has.
Report, edit, etc...Posted by LordVodka on 2005-05-26 at 22:46:43
Even after attempting it once more with this... I still enjoy normal SE Triggering MUCH better... thanks though, I now know how to work the basics of TrigEdit for referencing to people if needed
Report, edit, etc...Posted by Basan on 2005-05-27 at 08:36:00
Howdy fellas. I'm experiencing a lil' glitch with SCMDraft's 2 (pre-release #9) along with it's TrigEdit plugin.

I have it set to open from within the SCXE Wizard, 'cause I told it to start at my Windows OS booting, and when I do that the prog opens but I can't access that plugin (same for the briefing one, btw). It shows me a msg something along the lines of "It wasn't possible to locate the entry point for procedure RichEdit10ANSIWndProc on the dinamic hiperlink library RICHED20.dll". It mostly happens when I try to open it from the SCXE Wizard.

What I do to be able to use it is to right-click on any SC-BW map with "SCMDraft application" and after it opened the app, then I'll head for the map to open it. Following those steps it runs nicely.

Weird, isn't it? Can anyone help me to fix it (if that's possible)? blink.gif
Report, edit, etc...Posted by LegacyWeapon on 2005-05-27 at 15:18:19
I believe that is a bug with SCMD2 not TrigEdit question?
Report, edit, etc...Posted by Basan on 2005-05-28 at 12:53:12
QUOTE(LegacyWeapon)
I believe that is a bug with SCMD2 not TrigEdit question?


Not exactly. Almost everytime I open SCMDraft 2 through the link in SCXE Wizard it doesn't allow me to load the TrigEdit plugin. To fix it (after closing SCMDdraft 2) I must open a map with right click, since I don't have those associated with that map editor, wich only opens SCMDraft 2. Afterwards, I open any map and voilá, it's fixed onwards.

Can it possibly have to do with the mode that the *.exe additional functions are dealt with SCXE Wizard? Or is it simply a snag that it has with the TrigEdit being loaded to SCMDraft 2 through an indirect method (as explained above)?
Or is it somethin' related to other thing else that's interfering with all/some of those?

Tks for any help in advance. happy.gif
Report, edit, etc...Posted by SI on 2005-05-28 at 19:16:07
Try copying the plugins folder to the folder the launch wizard is in (copy not move)
if that fixes it then the launchwizard still has the same bug I told GMN about loong ago.
Report, edit, etc...Posted by Basan on 2005-05-30 at 10:05:16
QUOTE(SI (as in Suicidal Insanity?))
Try copying the plugins folder to the folder the launch wizard is in (copy not move)
if that fixes it then the launchwizard still has the same bug I told GMN about loong ago.


Done (copy-pasted the SCMDraft 2 plugin folder to the SC directory), but it still didn't work. (Same applies when only copying the file into the same directory.) pinch.gif
Nvm, then. I guess it wasn't fixed yet. Tks for the help anyway. happy.gif
Report, edit, etc...Posted by Shadow181 on 2005-06-03 at 11:10:52
I can't get the trigger "Center View("Location");" to work, it saves and stuff, but it won't work ingame... help...
toot.gif arrow.gif chair.gif arrow.gif cry.gif arrow.gif bangin.gif arrow.gif drunk.gif
Report, edit, etc...Posted by LegacyWeapon on 2005-06-03 at 13:04:40
Please refrain from using so many smileys.

Make sure it is owned by the correct player.
Report, edit, etc...Posted by Shadow181 on 2005-06-04 at 07:31:21
It is sad.gif it won't work. It should though:

Trigger
Description:
The TRIGGER
Players:
¤ Player 1
Conditions:
¤ Bring("Player 1", "Any unit", "O APH", At least, 1);
Actions:
¤ Center View("I APH");
¤ Preserve trigger();

cry.gif cry.gif
PLS help!

ADDITION:
Okay, thanks. I fixed that trigger.
Report, edit, etc...Posted by scwizard on 2005-06-04 at 10:12:23
Stop with the smilies! Think of the bandwidth cry.gif

Anyway, here's a FAQ question for you:

What is the syntax for the switches section of trig edit?
Report, edit, etc...Posted by LegacyWeapon on 2005-06-04 at 12:30:02
CODE
Switch # - 1 "Name"


Example:
CODE
0 "OMFG NAME"
This names Switch 1 to be "OMFG NAME".
Report, edit, etc...Posted by Staredit.Net Essence on 2005-06-08 at 19:41:31
QUOTE(Shadow181 @ Jun 3 2005, 08:10 AM)
I can't get the trigger "Center View("Location");" to work, it saves and stuff, but it won't work ingame... help...
toot.gif  arrow.gif  chair.gif  arrow.gif  cry.gif  arrow.gif  bangin.gif  arrow.gif  drunk.gif
[right][snapback]224815[/snapback][/right]


THats actually really cool. What bandwidth I have instant load?
Next Page (1)