Help me the GUI trackbles

exilus4

New Member
Reaction score
1
function Trig_TrackbleSetPlus_Actions takes nothing returns nothing
call FogEnableOff( )
call FogMaskEnableOff( )
set udg_LocX[( R2I(udg_TrackbleIntegerPlus) + 1 )] = ( udg_LocX[( R2I(udg_TrackbleIntegerPlus) + 1 )] + 65.00 )
set udg_LocY[R2I(udg_TrackbleIntegerPlus)] = ( udg_LocY[R2I(udg_TrackbleIntegerPlus)] + 65.00 )
set udg_Trackble[( R2I(udg_TrackbleIntegerPlus) + 1 )] = CreateTrackable("units\\nightelf\\Wisp\\Wisp.mdl", udg_LocX[( R2I(udg_TrackbleIntegerPlus) + 1 )], udg_LocY[( R2I(udg_TrackbleIntegerPlus) + 1 )], 0)
endfunction

//===========================================================================
function InitTrig_TrackbleSetPlus takes nothing returns nothing
set gg_trg_TrackbleSetPlus = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_TrackbleSetPlus, 0.01 )
call TriggerAddAction( gg_trg_TrackbleSetPlus, function Trig_TrackbleSetPlus_Actions )
endfunction

///////////////////////////////////////////////////////////////////////////////////////
how to do detect the player hit/move to the trackble?
 

Crazy_Dead

New Member
Reaction score
24
Post in JASS tags.

Like this:

JASS:
function Trig_TrackbleSetPlus_Actions takes nothing returns nothing
 call FogEnableOff( )
 call FogMaskEnableOff( )
 set udg_LocX[( R2I(udg_TrackbleIntegerPlus) + 1 )] = (udg_LocX[(R2I(udg_TrackbleIntegerPlus) + 1 )] + 65.00)
 set udg_LocY[R2I(udg_TrackbleIntegerPlus)] = (udg_LocY[R2I(udg_TrackbleIntegerPlus)] + 65.00 )
 set udg_Trackble[( R2I(udg_TrackbleIntegerPlus) + 1 )] =  CreateTrackable("units\\nightelf\\Wisp\\Wisp.mdl",udg_LocX[(R2I(udg_TrackbleIntegerPlus) + 1 )],udg_LocY[(R2I(udg_TrackbleIntegerPlus) + 1 )], 0)
endfunction

//====================================================================== =====
function InitTrig_TrackbleSetPlus takes nothing returns nothing
set gg_trg_TrackbleSetPlus = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_TrackbleSetPlus, 0.01 )
call TriggerAddAction( gg_trg_TrackbleSetPlus, function Trig_TrackbleSetPlus_Actions )
endfunction
 

exilus4

New Member
Reaction score
1
tq

need some help about the stupid GUI trackble for 10 player(Multi)



srry for the bad english.try my best:thup:
 

Accname

2D-Graphics enthusiast
Reaction score
1,461
as far as i remember (havent worked with trackables alot) trackables cannot return you which player triggered their event however creating trackables for a local player only i think does not desync. that means you would have to create all the trackables locally for every player to get which player triggered them.
i might be wrong though.
 

exilus4

New Member
Reaction score
1
o...that sound like bad for me==

hard working on trackble for multiplayer....:banghead:
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    I reorganized the forums somewhat but I doubt anyone would notice
  • The Helper The Helper:
    Happy Friday!
    +1
  • The Helper The Helper:
    Happy Saturday!
    +1
  • The Helper The Helper:
    The forum software says we have 554 members online now. We did not have that many unique visitors the whole day today. Too many bots and the disconnect between the forum counts and the stats.
  • Varine Varine:
    Currently it says 413 guests and 2 members
    +1
  • Varine Varine:
    Aww
  • The Helper The Helper:
    That is going to be mostly bots
  • The Helper The Helper:
    527 (members: 2, guests: 525)
  • The Helper The Helper:
    Happy Saturday!
    +1
  • V-SNES V-SNES:
    Happy Saturday!
    +1
  • The Helper The Helper:
    622 (members: 2, guests: 620)
  • The Helper The Helper:
    666 (members: 4, guests: 662) :)
    +1
  • Varine Varine:
    609 (members: 4, guests: 605)
  • The Helper The Helper:
    I was posting that last one because the 666 users online :)
    +1
  • The Helper The Helper:
    Happy Wednesday Night!
    +1
  • The Helper The Helper:
    Happy Thursday!
    +1
  • The Helper The Helper:
    Marathon watching The Expanse!
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    leaving for the weekend in San Antonio will be gone until Sunday afternoon
    +1
  • The Helper The Helper:
    and I am back :)
    +1
  • The Helper The Helper:
    Happy Tuesday!
    +1

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top