Clan TMMM
Would you like to react to this message? Create an account in a few clicks or log in to continue.


The official site of Clan TMMM
 
HomeHomeSearchLatest imagesRegisterLog in


Latest topics
» Kevkevqaz is back
Locust in RoC ? I_icon_minitimeby Eat_bacon_daily Wed Feb 22, 2023 7:22 pm

» Hey whats up
Locust in RoC ? I_icon_minitimeby seankly Tue Feb 04, 2020 10:32 pm

» Gotta click fast - WC3 Mazing #mildlyinteresting
Locust in RoC ? I_icon_minitimeby hoffmann Wed Jun 21, 2017 10:28 pm

» I'm getting married and you guys are invited
Locust in RoC ? I_icon_minitimeby Achilles.42 Wed Sep 07, 2016 11:00 am

» Server Photo Album 1
Locust in RoC ? I_icon_minitimeby Pat1487 Sat Aug 06, 2016 5:28 pm

» Legacy of The Void Beta
Locust in RoC ? I_icon_minitimeby Achilles.42 Sun Oct 18, 2015 3:21 am

» Hey guys!!!
Locust in RoC ? I_icon_minitimeby Eat_bacon_daily Fri Oct 16, 2015 11:20 pm

SC2 Links
SC2 Challenge/Tourney Info

Official SC2 Forums

SC2 Curse

SC2Mapster

Team Liquid

SC2 Replayed

SC2 Strategy
WC3 Links
Clan_TMMM[Host] Info

WC3 Challenge/Tourny Rules

Epicwar
Poll
What game does everyone play now?
Starcraft 2
Locust in RoC ? I_vote_lcap26%Locust in RoC ? I_vote_rcap
 26% [ 8 ]
Warcraft 3
Locust in RoC ? I_vote_lcap35%Locust in RoC ? I_vote_rcap
 35% [ 11 ]
League of Legends
Locust in RoC ? I_vote_lcap19%Locust in RoC ? I_vote_rcap
 19% [ 6 ]
World of Warcraft
Locust in RoC ? I_vote_lcap0%Locust in RoC ? I_vote_rcap
 0% [ 0 ]
Diablo 2
Locust in RoC ? I_vote_lcap0%Locust in RoC ? I_vote_rcap
 0% [ 0 ]
No games at all
Locust in RoC ? I_vote_lcap10%Locust in RoC ? I_vote_rcap
 10% [ 3 ]
Other game not listed
Locust in RoC ? I_vote_lcap10%Locust in RoC ? I_vote_rcap
 10% [ 3 ]
Total Votes : 31
Transparency

 

 Locust in RoC ?

Go down 
3 posters
AuthorMessage
NiTnEuQs
Recruit
Recruit
NiTnEuQs



Locust in RoC ? Empty
PostSubject: Locust in RoC ?   Locust in RoC ? I_icon_minitimeSun Mar 21, 2010 3:22 pm

Hi all,

I recently want to put Locust in my map but when i convert it, locust disapear...
I have import AbilityData.slk but doesn't work.

Code:
function Trig_LocustCheck_Func001Func001001 takes nothing returns boolean
return ( UnitHasBuffBJ(GetEnumUnit(), 'Aloc') == false )
endfunction

function Trig_LocustCheck_Func001A takes nothing returns nothing
if ( Trig_LocustCheck_Func001Func001001() ) then
call UnitAddAbilityBJ( 'Aloc', GetEnumUnit() )
else
call DoNothing( )
endif
endfunction

function Trig_LocustCheck_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsOfPlayerAll(Player(11)), function Trig_LocustCheck_Func001A )
endfunction

//===========================================================================
function InitTrig_LocustCheck takes nothing returns nothing
set gg_trg_LocustCheck = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_LocustCheck, 0.10 )
call TriggerAddAction( gg_trg_LocustCheck, function Trig_LocustCheck_Actions )
endfunction
This is my JASS trigger, work on TFT but not on RoC.

Help me plz ^^'
Back to top Go down
FaMoUs
Recruit
Recruit




Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeSun Mar 21, 2010 6:40 pm

You need to change your import path to Units\AbilityData.slk
Should work after that..
Back to top Go down
NiTnEuQs
Recruit
Recruit
NiTnEuQs



Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeMon Mar 22, 2010 12:02 pm

I've already test it but doesn't work..
I put again my code:
Code:
function Trig_LocustCheck_Func001Func001001 takes nothing returns boolean
return ( UnitHasBuffBJ(GetEnumUnit(), 'Aloc') == false )
endfunction

function Trig_LocustCheck_Func001A takes nothing returns nothing
if ( Trig_LocustCheck_Func001Func001001() ) then
call UnitAddAbilityBJ( 'Aloc', GetEnumUnit() )
else
call DoNothing( )
endif
endfunction

function Trig_LocustCheck_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsOfPlayerAll(Player(11)), function Trig_LocustCheck_Func001A )
endfunction

//===========================================================================
function InitTrig_LocustCheck takes nothing returns nothing
set gg_trg_LocustCheck = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_LocustCheck, 0.10 )
call TriggerAddAction( gg_trg_LocustCheck, function Trig_LocustCheck_Actions )
endfunction

My Way:
Locust in RoC ? Abilitydataimportation

Locust in RoC ? Abilitydatawinmpq

Locust in RoC ? Abilit11

Locust in RoC ? Abilit12

Locust in RoC ? Abilitydatawinmpqnew

Locust in RoC ? Abilitydataingame

Sry for my bad English Smile
Help me ^^'
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeMon Mar 22, 2010 1:44 pm

I looks like you imported everything properly
Although i dont know much about putting TFT features in ROC

It might be your trigger though

Im pretty sure your Trig_LocustCheck_Func001Func001001 function is wrong
Really you dont need a function for that anyway, you can just reuse Trig_LocustCheck_Func001A over again if you need to give locust to a unit that spawns later in the game

Try this:

Code:
function Trig_LocustCheck_Func001A takes nothing returns nothing
if ( not(UnitHasBuffBJ(GetEnumUnit(), 'Aloc')) ) then
call UnitAddAbilityBJ( 'Aloc', GetEnumUnit() )
else
call DoNothing( )
endif
endfunction

function Trig_LocustCheck_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsOfPlayerAll(Player(11)), function Trig_LocustCheck_Func001A )
endfunction

//===========================================================================
function InitTrig_LocustCheck takes nothing returns nothing
set gg_trg_LocustCheck = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_LocustCheck, 0.10 )
call TriggerAddAction( gg_trg_LocustCheck, function Trig_LocustCheck_Actions )
endfunction

You dont really even need to check if they already have locust since adding locust to something that already has it doesnt change anything, and you wouldnt be adding it twice anyway
Back to top Go down
NiTnEuQs
Recruit
Recruit
NiTnEuQs



Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeMon Mar 22, 2010 1:55 pm

I didn't understand everything because i'm french ^^'
but i've just tested your code and doesn't work ..

If you have your own system, send me if you can =)
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeMon Mar 22, 2010 2:46 pm

Oh
Then it is the import for TFT->ROC
Cause that should work

I have no experience with importing TFT stuff into ROC so i cant help you
Sorry
Back to top Go down
NiTnEuQs
Recruit
Recruit
NiTnEuQs



Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeMon Mar 22, 2010 2:55 pm

Okay, np ^^
Thanks for helping Smile

If someone else can help me Wink
Back to top Go down
FaMoUs
Recruit
Recruit




Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeMon Mar 22, 2010 3:26 pm

Your not converting right. Post the map and ill convert. Also i got a smaller slk file.
196KB
Back to top Go down
NiTnEuQs
Recruit
Recruit
NiTnEuQs



Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeMon Mar 22, 2010 3:35 pm

Stay online i send you Wink
And if you can, tell me how convert Very Happy
Back to top Go down
NiTnEuQs
Recruit
Recruit
NiTnEuQs



Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeMon Mar 22, 2010 3:40 pm

Back to top Go down
FaMoUs
Recruit
Recruit




Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeMon Mar 22, 2010 3:53 pm

You should finish it before i convert because if you do any changes... it changes back to tft.
Back to top Go down
NiTnEuQs
Recruit
Recruit
NiTnEuQs



Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeMon Mar 22, 2010 3:55 pm

I know Smile , you can tell me the way and i'll convert later. Plz ^^
I have to change much things Smile
Plz plz plz Neutral
Back to top Go down
FaMoUs
Recruit
Recruit




Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeMon Mar 22, 2010 4:07 pm

Sure ill show you later when i got time.
Back to top Go down
NiTnEuQs
Recruit
Recruit
NiTnEuQs



Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeMon Mar 22, 2010 4:10 pm

It's very important Sad
Just how convert, with WinMPQ ? My way is good but just there is a little error ?
After I let you in peace Very Happy
Back to top Go down
NiTnEuQs
Recruit
Recruit
NiTnEuQs



Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeWed Mar 24, 2010 1:55 pm

I'm ready for the lesson ^^.
PM me or send a message on this topic Wink
Back to top Go down
FaMoUs
Recruit
Recruit




Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeThu Mar 25, 2010 7:05 pm

We should teamview it be a lot easier this way.
Back to top Go down
NiTnEuQs
Recruit
Recruit
NiTnEuQs



Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeFri Mar 26, 2010 7:55 am

Ok =).
When you want: nitneuqtuod@hotmail.fr
But don't let me alone x) I really need help and you are nice ;p
Back to top Go down
FaMoUs
Recruit
Recruit




Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitimeSat Mar 27, 2010 12:55 pm

NiTnEuQs can you get on USEast server? If you can do so. Whisper me if you get on so we can team view. Ill be on like at 5pm USEast time or you can try anytime as long as im online.

*Edit*
I'm online right now so we can teamview right now... find me in clan tmmm.
Back to top Go down
Sponsored content





Locust in RoC ? Empty
PostSubject: Re: Locust in RoC ?   Locust in RoC ? I_icon_minitime

Back to top Go down
 
Locust in RoC ?
Back to top 
Page 1 of 1
 Similar topics
-
» Locust
» Help Me With Locust !
» Locust Help
» Locust Trigger
» Demon Hunter Locust

Permissions in this forum:You cannot reply to topics in this forum
Clan TMMM :: Warcraft 3 :: WC3 Tutorials and Help-
Jump to: