How do I add a new jass trigger to an existing .j?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

darkxion
Member
Posts: 57
Joined: April 26th, 2007, 7:53 pm

Re: How do I add a new jass trigger to an existing .j?

Post by darkxion »

Yeah I meant them as the errors. Tried what ya said, didn't get any errors this time, but the trigger didn't work in game, I'm going back and checking it all to make sure I didn't make a mistake.
User avatar
JJ2197
Legendary Genius
Posts: 1311
Joined: August 8th, 2007, 8:10 am
Title: Legendary Genius²
Location: St. George Utah

Re: How do I add a new jass trigger to an existing .j?

Post by JJ2197 »

I would assume you did as Xantan told you to... but incase you didn't add this under function main (and if any locals, under those)

Code: Select all

call InitTrig_greed()
Computer Specs:
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate
darkxion
Member
Posts: 57
Joined: April 26th, 2007, 7:53 pm

Re: How do I add a new jass trigger to an existing .j?

Post by darkxion »

Got it, finally, thanks a lot I'd be pulling out the last bit of hair if it wasn't for you guys.