Hello, I've been lurking around for a while on these forums and thought I'd finally come out and ask a few questions concerning the trigger editor I really can't seem to solve. I searched around (not very extensively) and figured I'd better ask before I get frustrated and give up on my project.
[Solved] My first question: I've set up a Veterancy system for my heroes, complete with Attributes, thanks to the tutorials on this forum. My only problem is I can't seem to figure out a way to award XP to a hero via triggers. I'm sure there's a pretty simple solution I'm missing.
[Solved] My second problem is with the blackmask: My map is a space station and I'm using cliffs for walls. When a hero approaches these walls he discovers the black mask behind them/on top of them without making the fog of war visible. Is there a way of disabling this (i.e. units can only discover areas that are actually visible to them)?
My final problem has to do with the animation functions. For my hero select screen I have units play animations once selected. One particularly annoying unit has its animations work only half the time. I can't seem to pin down the problem, though I'm confident it's my complete lack of understanding concerning some of the animation functions. Here's what I've got currently set up (presented to you in plain text):
Map Initialization:
Clear the default animation for unit X (I found out the unit still executes its 'fidget' animations after applying an animation; using this function seemed to fix that)
Play animation Stand B for unit X forever
Unit X is clicked by any player:
Play Fidget 02 animation for unit X
Set the default absolute animation time for Unit X to Y
The general idea was to have the unit only play part of an animation and then revert to its default 'Stand' animation. The problem is that sometimes it works and sometimes it doesn't; sometimes it plays the segment of animation, and sometimes it just plays the default 'Stand' animation. I really have no clue why.
If anyone can answer any or all of these questions I would be eternally grateful. Also, please go easy on me. Complete noob here.
And one last thing: effing blend times, how do they work?
For the first question, under the Set Unit Property action, there is a parameter for experience.
I'm not sure I understand the second question. The unit stands at the bottom of the cliff and it reveals the black mask at the top of the cliff? That sounds more like a bug than a default behavior.
Sorry, but I have no idea how to help you for the last question. I have no experience working with unit animations in triggers. If you post your actual code (rather than pseudocode), I might be able to help you figure it out.
Thanks for the tip concerning XP; can't believe I missed something so simple. Now I can stop pulling my hair out about that and focus on my other dilemmas. As for my other 2 problems I'll post screenies when I get home. But my last query is legitimate as well: if anyone could explain blend times to me that would be fantastic. When I set them to 0, the unit immediately snaps to the next animation. But it seems no matter what integer I assign them above 0 the blend time remains the same. More info would be greatly appreciated.
edit: Uploaded screenshots of the triggers. Should be pretty simple. Also, I solved the Blackmask problem by changing the map options to Blackmask (Reduced Radius). Works like a charm.
Hello, I've been lurking around for a while on these forums and thought I'd finally come out and ask a few questions concerning the trigger editor I really can't seem to solve. I searched around (not very extensively) and figured I'd better ask before I get frustrated and give up on my project.
[Solved] My first question: I've set up a Veterancy system for my heroes, complete with Attributes, thanks to the tutorials on this forum. My only problem is I can't seem to figure out a way to award XP to a hero via triggers. I'm sure there's a pretty simple solution I'm missing.
[Solved] My second problem is with the blackmask: My map is a space station and I'm using cliffs for walls. When a hero approaches these walls he discovers the black mask behind them/on top of them without making the fog of war visible. Is there a way of disabling this (i.e. units can only discover areas that are actually visible to them)?
My final problem has to do with the animation functions. For my hero select screen I have units play animations once selected. One particularly annoying unit has its animations work only half the time. I can't seem to pin down the problem, though I'm confident it's my complete lack of understanding concerning some of the animation functions. Here's what I've got currently set up (presented to you in plain text):
Map Initialization:
Clear the default animation for unit X (I found out the unit still executes its 'fidget' animations after applying an animation; using this function seemed to fix that)
Play animation Stand B for unit X forever
Unit X is clicked by any player:
Play Fidget 02 animation for unit X
Set the default absolute animation time for Unit X to Y
The general idea was to have the unit only play part of an animation and then revert to its default 'Stand' animation. The problem is that sometimes it works and sometimes it doesn't; sometimes it plays the segment of animation, and sometimes it just plays the default 'Stand' animation. I really have no clue why.
If anyone can answer any or all of these questions I would be eternally grateful. Also, please go easy on me. Complete noob here.
And one last thing: effing blend times, how do they work?
@Dascion: Go
For the first question, under the Set Unit Property action, there is a parameter for experience.
I'm not sure I understand the second question. The unit stands at the bottom of the cliff and it reveals the black mask at the top of the cliff? That sounds more like a bug than a default behavior.
Sorry, but I have no idea how to help you for the last question. I have no experience working with unit animations in triggers. If you post your actual code (rather than pseudocode), I might be able to help you figure it out.
@Abion47: Go
Thanks for the tip concerning XP; can't believe I missed something so simple. Now I can stop pulling my hair out about that and focus on my other dilemmas. As for my other 2 problems I'll post screenies when I get home. But my last query is legitimate as well: if anyone could explain blend times to me that would be fantastic. When I set them to 0, the unit immediately snaps to the next animation. But it seems no matter what integer I assign them above 0 the blend time remains the same. More info would be greatly appreciated.
edit: Uploaded screenshots of the triggers. Should be pretty simple. Also, I solved the Blackmask problem by changing the map options to Blackmask (Reduced Radius). Works like a charm.