GUI to Jass?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
vosszaa
Old Wrinkly Member
Posts: 247
Joined: March 7th, 2007, 7:04 am

Post by vosszaa »

Paparas wrote:I have a .j file which Triggers are in Jass. I have created some triggers, I have converted them into Custom Text, but I didn't understand where to copy them in the .j file using Jass Craft :| please help!


Aero already xplain it (page 1).

"jass craft" and "jass shop pro"..... r they da same thing??

im confuse - -a

PS. Im using jass shop pro ^^
Image

The tallest tower.. begins from the ground
Today, you are novice..
Tomorrow, you might be The Master..
And when you are..
Vosszaa will hunt you down..
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Post by Aero »

JassCraft == Jass Shop Pro 2 or w/e

Use JassCraft...it's latest
User avatar
Paparas
Newcomer
Posts: 9
Joined: March 14th, 2007, 7:14 pm

Post by Paparas »

As Xantan said, I wrote at the globals "trigger YourTriggerName=Create Trigger()" and then I copied and pasted the trigger, but when i use Check Syntax, it shows me an error "Line 3038: Undeclared Variable: udg_Unit" :roll:
Mr. Zero
Newcomer
Posts: 10
Joined: March 24th, 2007, 9:35 am
Location: Denmark (GMT+1)

Post by Mr. Zero »

Becuase you have used a global variable. You will need to add that one to the globals as well.

Code: Select all

There should be a part where there stands:
globals
...
...
...
endglobals

Now copy your Global like this:
globals
...
...
...
unit udg_Unit
endglobals


That should do the trick.
~Mr. Zero
User avatar
Paparas
Newcomer
Posts: 9
Joined: March 14th, 2007, 7:14 pm

Post by Paparas »

When i converted my trigger to Custom text, the Condition and the Actions are together and between the Events there is something like that separates them:

Code: Select all

//===========================================================================


Also i have a variable for this trigger, but how must i copy them and paste them in the .j file correctly??? :shock:



EDIT: Please explain me everything coz i am a little confused :roll:
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Post by Aero »

/wrist -.-
User avatar
Paparas
Newcomer
Posts: 9
Joined: March 14th, 2007, 7:14 pm

Post by Paparas »

-wrist (????) :roll: :roll:


EDIT: What the -_- is that???
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Post by Xantan »

Paparas wrote:-wrist (????) :roll: :roll:


EDIT: What the -_- is that???


Its /wrist.

And it means cut your wrist.

lol.