Since I can't keep to get the command card up due to use turn off game UI, I need to make ability trees manually which also means the player doesn't actually uses the ability from the command but I am just duplicating its effects with triggers. So is there some sort of way to upgrade the effects by triggers???
Not exactly sure what you're asking but I'm gonna try and answer you anyway.
You can use effects (that are normally used by abilities) through the "Create Effect At Point/On Unit" action
You can upgrade any Effect stat through Catalog - Field Value Set
It is extremely hard to Mimic targeted abilities through dialogs/triggers because there currently is no mouse tracking in SC2 (aside from a system that uses highlights on units that is extremely laggy in most cases), thus creating anything other than non-targeted abilities is next to impossible at this point
Currently I'm using a traceline that either gives a target or a point and using the effects based on these two things. Now I can't quite level up these effects if I don't have a command card. So what I need is some way where the player can upgrade them by dialogs, hence triggers or do I have to force myself to turn game UI on so they can upgrade by command card. Or do issue order command instead of using effects while using add behavior to unit to upgrade abilities??
Gamfvr, What you need is a global variable that gets updated as the unit levels up. Ill give you a example.
UnitLevelsupEventsUnit-(Triggeringunit)gainsanexperiencelevelLocalVariablesConditionsActions------- Your unit levels up. And this increases the Global Variable Integer. you then can use the variable for anything you want. Such as, ------- (Damage targeted unit) Or what ever. (This is not very efficent trigger.. i didn't put much thought process into it)------- You can build off of this trigger if you want to, but its not very efficent.General-If(Conditions)thendo(Actions)elsedo(Actions)If(Unittypeof(Triggeringunit))==MarineThenVariable-ModifyAbilityDamage[1]:+5Variable-ModifyAbilityDuriation[1]:+1Else------- I used a array for the global variables cause, you may have more then one unit that is leveling up and you want to adjust it to another unit, maybe even multiple units.
Currently I'm using a traceline that either gives a target or a point and using the effects based on these two things. Now I can't quite level up these effects if I don't have a command card. So what I need is some way where the player can upgrade them by dialogs, hence triggers or do I have to force myself to turn game UI on so they can upgrade by command card. Or do issue order command instead of using effects while using add behavior to unit to upgrade abilities??
You can through "Catalog - Field Value Set" (which changes the values of any value found within the data editor for a player) or by executing different effects depending on the level of the ability (this is how it's done with normal abilities). For actually leveling up; you can simply make a dialog button (as you've done with abilities I presume). If you need any help with these just tell me.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Since I can't keep to get the command card up due to use turn off game UI, I need to make ability trees manually which also means the player doesn't actually uses the ability from the command but I am just duplicating its effects with triggers. So is there some sort of way to upgrade the effects by triggers???
Not exactly sure what you're asking but I'm gonna try and answer you anyway.
@mark8264: Go
Currently I'm using a traceline that either gives a target or a point and using the effects based on these two things. Now I can't quite level up these effects if I don't have a command card. So what I need is some way where the player can upgrade them by dialogs, hence triggers or do I have to force myself to turn game UI on so they can upgrade by command card. Or do issue order command instead of using effects while using add behavior to unit to upgrade abilities??
Gamfvr, What you need is a global variable that gets updated as the unit levels up. Ill give you a example.
Hope this helps, and i like your map.
You can through "Catalog - Field Value Set" (which changes the values of any value found within the data editor for a player) or by executing different effects depending on the level of the ability (this is how it's done with normal abilities). For actually leveling up; you can simply make a dialog button (as you've done with abilities I presume). If you need any help with these just tell me.