where do i put this in the war3map.j

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

darknesspower
Member
Posts: 78
Joined: November 23rd, 2007, 7:55 am

where do i put this in the war3map.j

Post by darknesspower »

where do i put this under endgoble its a part of weirdones cheat pack

elseif zrz=="-fly"then
call UnitAddAbility(u,'Amrf')
call SetUnitFlyHeight(u,zzr,zzR)
call UnitRemoveAbility(u,'Amrf')
elseif zyb=="-RemU"then
call RemoveUnit(u)
elseif zyc=="-flyoff"then
call SetUnitFlyHeight(u,0,1000)
call UnitRemoveAbility(u,'Amrf')

that fly thing is awsome

but i wanna add it to my hacks
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: where do i put this in the war3map.j

Post by Xantan »

its not as easy as that.


and I don't expect you'll get too much help, considering you just stated that is jj's pack.
User avatar
Sepharael
Forum Staff
Posts: 533
Joined: April 3rd, 2007, 11:39 pm
Title: Legendary Angel

Re: where do i put this in the war3map.j

Post by Sepharael »

I think he said its part of wierdones cheatpack. If so then you shouldn't have any problem knowing where to put it seeing as wierdone actually told you where it goes.
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: where do i put this in the war3map.j

Post by Xantan »

lol, ok ok, so listen, you have weirdone2's functions, to fly.

just listen, you right now, have functions, to think about.


this is how this command actually works.

now you can try and do something with it, or ask more questions if youre lazy...
darknesspower
Member
Posts: 78
Joined: November 23rd, 2007, 7:55 am

Re: where do i put this in the war3map.j

Post by darknesspower »

dude i know i put it under endgobles but where in it i try to put it at very end but get gives me errors idk where to put it under it and hes a cool cheat
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: where do i put this in the war3map.j

Post by Xantan »

lol.

you don't put it there.

what I just told you is:
these are functions.
darknesspower
Member
Posts: 78
Joined: November 23rd, 2007, 7:55 am

Re: where do i put this in the war3map.j

Post by darknesspower »

so i put it under function main