Trackables event problems when modifying Trigger Editor (GUI)

xPass

All aboard the xPass Express!
Reaction score
26
So I have been looking and searching and wasting my time on looking for the solution to this problem for quite some days, so I decided to stop wasting time and ask here. It's about modifying the Trigger Editor (Don't give me Sevion's link, cuz I've been there more than 50 times).

Well, when I say there is a problem, I don't mean parameter problems, yet it's the NON-SHOWING of TRACKABLE VARIABLES and FUNCTIONS in Trackable Event functions.

When I select it in GUI, it appears as normal (good sign), but when i click the red colour words (meaning choosing things like Destructible in GUI), it shows NOTHING except for the preset (I added it) and the box where variable is supposed to be input WITHOUT the Edit Variable option (Bad sign) and Function like this:

Code:
o[Preset] [No Trackable]
o[Variable] [No generated variables of this type exist]
WITHOUT THE [Edit Variable] BESIDE!!!

It should be this instead:
Code:
o[Preset] [No Trackable]
o[Variable] [No generated variables of this type exist][Edit Variables]
o[Function] [Hastable - Load Trackable Handle]
                 [Load [U]Value[/U] of [U]Value[/U] in [U](Last Created hastable)[/U]]

Anyone knows what's the problem? I do have trackables variables input though...

--EDIT--
These are all those Trackable functions I typed in and are already in (Might miss out some though):
TriggerData.txt
Code:
[B][TriggerEvents][/B]
TriggerRegisterTrackableHitEvent=1,trackable
_TriggerRegisterTrackableHitEvent_Defaults=_
_TriggerRegisterTrackableHItEvent_Category=TC_TRACKABLE

TriggerRegisterTrackableTrackEvent=1,trackable
_TriggerRegisterTrackEvent_Defaults=_
_TriggerRegisterTrackableTrackEvent_Category=TC_TRACKABLE

[B][TriggerCategories][/B]
TC_TRACKABLE=WESTRING_TRIGCAT_TRACKABLE,ReplaceableTextures\WorldEditUI\Actions-Melee

[B][TriggerTypes][/B]
// Trigger Variable Types
trackable=1,1,1,WESTRING_TRIGTYPE_trackable

[B][TriggerParams][/B]
//Trackable
TrackableNull=1,trackable,null,WESTRING_TRIGTRACKABLE_NULL

[B][TriggerConditions][/B]
OperatorCompareTrackable=0,trackable,EqualNotEqualOperator,trackable
_OperatorCompareTrackable_Default=_,OperatorEqualENE,_
_OperatorCompareTrackable_Category=TC_CONDITON

[B][TriggerActions][/B]
SaveTrackableHandleBJ=0,trackable,integer,integer,hashtable
_SaveTrackableHandleBJ_Defaults=_,_,_,GetLastCreatedHashtableBJ
_SaveTrackableHandleBJ_Category=TC_HASHTABLE

LoadTrackableHandleBJ=0,0,trackable,integer,integer,hashtable
_LoadTrackableHandleBJ_Defaults=_,_,GetLastCreatedHashtableBJ
_LoadTrackableHandleBJ_Category=TC_HASHTABLE

[B][TriggerCalls][/B]
//returns trackable
GetTriggerTrackable=1,0,trackable
_GetTriggerTrackable_Defaults=
_GetTriggerTrackable_Category=TC_EVENTRESPONSE

CreateTrackable=1,0,trackable,modelfile,real,real,real
_CreateTrackable_Defaults="Abilities\Spells\Other\TalkToMe\TalkToMe.mdl",0,0,RealUnitFacing
_CreateTrackable_Limits=_,_,_,_,_,_,0,360
_CreateTrackable_Category=TC_EVENTRESPONSE


TriggerStrings.txt
Code:
[B][TriggerEventStrings][/B]
// Trackable events
TriggerRegisterTrackableHitEvent="Trackable Hit"
TriggerRegisterTrackableHitEvent=~Trackable," is being clicked"
TriggerRegisterTrackableHitEventHint="A player clicks a trackable."

TriggerRegisterTrackableTrackEvent="Trackable Track"
TriggerRegisterTrackableTrackEvent=~Trackable," is being scrolled over"
TriggerRegisterTrackableTrackEventHint="A player scrolls over a trackable."

[B][TriggerConditionStrings][/B]
OperatorCompareTrackable="Trackable Comparison"
OperatorCompareTrackable=~Trackable," ",~Operator," ",~Trackable
OperatorCompareTrackableHint="Compares Trackables."

SaveTrackableHandleBJ="Save Trackable Handle"
SaveTrackableHandleBJ="Save Handle Of",~trackable," as ",~Value," of ",~Value," in ",~Hashtable
SaveTrackableHandleBJHint="Use the 'Hashtable - Load Trackable' actions to load this trackable from a hashtable."

LoadTrackableHandleBJ="Load Trackable Handle"
LoadTrackableHandleBJ="Load ",~Value," of ",~Value," in ",~Hashtable
LoadTrackableHandleBJHint="If the label is not found, this function returns NULL."

[B][TriggerCallStrings][/B]
//Trackable
GetTriggerTrackable="Triggering Trackable"
GetTriggerTrackable="Triggering trackable"
GetTriggerTrackableHint="This refers to the triggering trackable."

CreateTrackable="Create A Trackable"
CreateTrackable="Create a trackable with the model ",~modelfile," at (",~real,", ",~real,") facing ",~real," degrees."
CreateTrackableHint="This creates a trackable."

WorldEditStrings.txt
Code:
[B][WorldEditStrings][/B]
WESTRING_TRIGCAT_TRACKABLE="Trackable"

// Trigger Variable Types
WESTRING_TRIGTYPE_trackable="Trackable"

//Trigger trackable
WESTRING_TRIGTRACKABLE_NULL="No trackable"

Right I think that's all...

Note:
1) Btw, the comparision of trackables one work, though I have no idea why it's default is [Trackable][Operator][Trackable] instead of [Trackable][Equal to][Trackable]... Anyone knows?

2) Sry for the big titanic block of text which is almost equivalent to a tutorial :(

3) Err, if it is too hard to read and you will like to have a little colour to make it more readable, do say so... I just hope someone can solve this...
 

xPass

All aboard the xPass Express!
Reaction score
26
bump... Lol, does this mean nobody actually modifies their Trigger Editors?
 

Sajin

User title under construction.
Reaction score
56
I can honestly say no i don't :) lol
sorry i wish i could help but I dont know that much about triggering or modding the editor sorry :(
 

xPass

All aboard the xPass Express!
Reaction score
26
Yeah I guess Sevion's the only one who can help me now... Be he doesn't seem to be as active as before... :(
 

Sajin

User title under construction.
Reaction score
56
try googiling your problem and maybe someone else has solved it?
 

xPass

All aboard the xPass Express!
Reaction score
26
nope, very little people actually modifies their trigger editors
 

Sevion

The DIY Ninja
Reaction score
413
Code:
[TriggerCalls]
//returns trackable

LoadTrackableHandleBJ=1,1,trackable,integer,integer,hashtable
_LoadTrackableHandleBJ_Defaults=_,_,GetLastCreatedHashtableBJ
_LoadTrackableHandleBJ_Category=TC_HASHTABLE

GetTriggerTrackable=1,0,trackable
_GetTriggerTrackable_Defaults=
_GetTriggerTrackable_Category=TC_EVENTRESPONSE

CreateTrackable=1,1,trackable,modelfile,real,real,real
_CreateTrackable_Defaults="Abilities\Spells\Other\TalkToMe\TalkToMe.mdl",0,0,RealUnitFacing
_CreateTrackable_Limits=_,_,_,_,_,_,0,360
_CreateTrackable_Category=TC_EVENTRESPONSE

Code:
[TriggerCallStrings]
//Trackable

LoadTrackableHandleBJ="Load Trackable Handle"
LoadTrackableHandleBJ="Load ",~Value," of ",~Value," in ",~Hashtable
LoadTrackableHandleBJHint="If the label is not found, this function returns NULL."

GetTriggerTrackable="Triggering Trackable"
GetTriggerTrackable="Triggering trackable"
GetTriggerTrackableHint="This refers to the triggering trackable."

CreateTrackable="Create A Trackable"
CreateTrackable="Create a trackable with the model ",~modelfile," at (",~real,", ",~real,") facing ",~real," degrees."
CreateTrackableHint="This creates a trackable."

In "Sevion's thread":

Sevion said:
It's syntax is: Function=0/1 Compatibility,0/1 Event Usable,Return Type

So, GetTriggerUnit is the JASS function, 0 means it works for ROC, 0 means it can't be used in Events, and unit is the type it returns.

As for the Save Trackable function, it should work fine even the way you had it.

There are some errors in the tutorial and I should get down to fixing them, but my internet is being gay right now. Will maybe try tomorrow.
 

xPass

All aboard the xPass Express!
Reaction score
26
thanks Sevion... Err, but why are there still no Edit Variables button for the events?

--EDIT--
Ok, I got it, I'm just so dumb >.<

0,1 became 1,0
 
General chit-chat
Help Users
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      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