[DEPROTECT] Island Troll Tribes 2.45
Moderator: Cheaters
-
- Newcomer
- Posts: 15
- Joined: June 9th, 2008, 10:37 pm
Re: [DEPROTECT] Island Troll Tribes 2.45
Yeh, I've sortof found the triggers. But to me it's all a comlete mess, and seems to be missing alot of triggers. You might have gotten a different result from me, so I'd love to see yours. But I'm still wondering if anyone is able to deprotect this completly so that the triggers will be accessable by the editor and shown in GUI
Thanks
Thanks
-
- Crusader
- Posts: 4236
- Joined: January 27th, 2007, 4:46 pm
- Location: Greece, Veria
Re: [DEPROTECT] Island Troll Tribes 2.45
Sorry once the triggers are converted to jass it cant be undone. Once you open the map in WE there will be one single huge trigger in jass.
-
- Newcomer
- Posts: 15
- Joined: June 9th, 2008, 10:37 pm
Re: [DEPROTECT] Island Troll Tribes 2.45
Alright thanks, I'd love to see what results you guys got then if you wouldn't mind too much
-
- Newcomer
- Posts: 15
- Joined: June 9th, 2008, 10:37 pm
Re: [DEPROTECT] Island Troll Tribes 2.45
Anyone? ^^ .
Last edited by Aue on October 20th, 2009, 2:06 pm, edited 1 time in total.
-
- Crusader
- Posts: 4236
- Joined: January 27th, 2007, 4:46 pm
- Location: Greece, Veria
Re: [DEPROTECT] Island Troll Tribes 2.45
Dont double post. Now, what kind of results do you want? Cause we are gonna get the same like yours. Once single jass trigger.
-
- Newcomer
- Posts: 15
- Joined: June 9th, 2008, 10:37 pm
Re: [DEPROTECT] Island Troll Tribes 2.45
This is the result that I got. I can't possibly see how this can be all of it. If any of you could just take a quick look at it and see if the results look correct I'd really apreciate it I feel like I've done something wrong with this deprotect.
You do not have the required permissions to view the files attached to this post.
-
- Super Moderator
- Posts: 3197
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: [DEPROTECT] Island Troll Tribes 2.45
1) why is it broken fulfilled?
2) why do u think there will be more triggers? maybe most of the stuff arent triggers at all..
2) why do u think there will be more triggers? maybe most of the stuff arent triggers at all..
-
- Newcomer
- Posts: 15
- Joined: June 9th, 2008, 10:37 pm
Re: [DEPROTECT] Island Troll Tribes 2.45
Well I might be completly wrong, but this function looks so "slim" it seems to me it's missing something. And although I'm quite the newb at jass, I can't see how this function can do anything. And if it can, then what?
Code: Select all
function Doodad001381_DropItems takes nothing returns nothing
local widget trigWidget=null
local unit trigUnit=null
local integer itemID=0
local boolean canDrop=true
set trigWidget=bj_lastDyingWidget
if(trigWidget==null)then
set trigUnit=GetTriggerUnit()
endif
if(trigUnit!=null)then
set canDrop=not IsUnitHidden(trigUnit)
if(canDrop and GetChangingUnit()!=null)then
set canDrop=(GetChangingUnitPrevOwner()==Player(PLAYER_NEUTRAL_AGGRESSIVE))
endif
endif
if(canDrop)then
//Item set 0
call RandomDistReset()
call RandomDistAddItem('I02G',20)
call RandomDistAddItem(-1,80)
set itemID=RandomDistChoose()
if(trigUnit!=null)then
call UnitDropItem(trigUnit,itemID)
else
call WidgetDropItem(trigWidget,itemID)
endif
endif
set bj_lastDyingWidget=null
call DestroyTrigger(GetTriggeringTrigger())
endfunction
-
- Forum Staff
- Posts: 506
- Joined: November 17th, 2008, 3:49 pm
Re: [DEPROTECT] Island Troll Tribes 2.45
No, nothing wrong..thats just how jass is. Compared to GUI, jass is a hell of a lot more efficient and smaller.
Its in broken fulfilled since this topic was made in July. When the forums rearranged, all fulfilled, were moved to broken instead because of the patch.haxorico wrote:1) why is it broken fulfilled?
-
- Newcomer
- Posts: 15
- Joined: June 9th, 2008, 10:37 pm
Re: [DEPROTECT] Island Troll Tribes 2.45
I know this is not the time, or place to learn some jass, but could you quickly tell me what this function does?
To me, this is a fuction that makes sense:
To me, this is a fuction that makes sense:
Code: Select all
function Trig_Untitled_Trigger_001_Conditions takes nothing returns boolean
if ( not ( IsUnitAliveBJ(GetTriggerUnit()) == true ) ) then
return false
endif
return true
endfunction
function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing
call ExplodeUnitBJ( GetTriggerUnit() )
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_001 takes nothing returns nothing
set gg_trg_Untitled_Trigger_001 = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Untitled_Trigger_001, EVENT_PLAYER_UNIT_ATTACKED )
call TriggerAddCondition( gg_trg_Untitled_Trigger_001, Condition( function Trig_Untitled_Trigger_001_Conditions ) )
call TriggerAddAction( gg_trg_Untitled_Trigger_001, function Trig_Untitled_Trigger_001_Actions )
endfunction