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:
WITHOUT THE [Edit Variable] BESIDE!!!
It should be this instead:
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
TriggerStrings.txt
WorldEditStrings.txt
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...
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]
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...