| 10-27-2003, 01:11 PM | #46 |
I found that the battle standart ability only works when used on items |
| 11-03-2003, 05:15 PM | #47 |
I found that illusions made of a hero with the hero glow ability will have a red glow instead of teamcolor. Code:
Events A unit spawns a summoned unit Conditions Actions Change color of summoned unit to color of owner of summoned unit |
| 11-03-2003, 06:18 PM | #48 | |
Quote:
sorry for being off topic but... go to the windows menu and uncheck brush list. the world editer will then go much faster when changing those things. |
| 11-14-2003, 12:40 PM | #49 | |
Quote:
That one is pretty better than the trigger I made to fix that problem -A unit enters region -((triggering unit) is an illusion) equal to true - Change color of (triggering unit) to (color of (owner of triggering unit) |
| 12-04-2003, 03:16 PM | #50 |
I found a trigger that fixes every issue, look at the first post |
| 12-04-2003, 04:55 PM | #51 |
For those of us with little practical Jass experience, can you explain what your new trigger does, precisely, Lord Vexorian? Mostly I'm concerned with whether it's a memory-intensive trigger. |
| 12-05-2003, 03:09 PM | #52 |
I tested it a lot and it doesn't take out memory, I think this is even faster than changing an unit's color, I am going to make a gui version of it, what it does is mostly changing the ally color filter to its current value each 0 seconds (a little less than 0.01 seconds) if you are still concerned about memory you can use 0.25 seconds or even 1 second, but in fact this doesn't use any memory, really |
| 12-05-2003, 04:27 PM | #53 |
I agree that it doesn't sound like a very complicated process to be running, but running it with such a small periodic interval still seems dangerous. This is a good trigger, but memory-wise, I think it's quite possibly still more solid to use the other three or four triggers. Which reminds me, I found that Reincarnate also resets the hero glow color to red. If someone's using the multiple triggers method, they'll want to add one to deal with that. |
| 12-05-2003, 06:44 PM | #54 |
this is not like having a each X seconds in the events, I can guarantie that it will nicely work, I've been testing it a lot and it doesn't make any changes to the execution time. I reccomend you temporary disable the other triggers and try the new one for a while, then you will have the results |
| 12-06-2003, 06:41 AM | #55 |
For some reason, Vex, your trigger didn't work for me. I have a map where, for testing purposes, I've created a trigger than changes the player color when you type "col", starting at Red and cycling through all 13 colors. When I change the player color, it updates all the hero glows properly. However, under the new color, if a new hero is summoned, the glow does not reflect the new color. It's red, instead. I don't know if it's red because red was my original player color or if this is the same problem as before. I'll do some more testing on this Sunday, but if you happen to know anything else I may have implemented wrong, let me know please. |
| 12-07-2003, 12:52 AM | #56 |
hey vexorian, i used this hero glow code with your hero selection system... in the hero selection the glow change the color... but, when the hero is selected... the glow back to red color... Code:
GlowFix
Events
Map initialization
Conditions
Actions
Custom Script: loop
Custom Script: call SetAllyColorFilterState(GetAllyColorFilterState())
Custom Script: call TriggerSleepAction(0.00)
Custom Script: endloop |
| 12-07-2003, 07:59 PM | #57 |
I would like to know what is happening with yours (or mine) since Vexha was using that trigger for a while (2.5 weeks) before I released it, and everything worked right, (Vexha uses both this glow method and my selection system) it is weird really weird |
| 12-09-2003, 03:11 AM | #58 |
Hey, I am new to adding custom script triggers. How do I add that trigger as my trigger? I know ho to convert the regular triggers into custom script, but do I just copy paste the code you have listed in my trigger? Is there more to the trigger code than just what you have posted? Thanks for the help. |
| 12-09-2003, 01:35 PM | #59 |
TFT editor came with a new trigger action called custom script there you can write any JASS line, so just create some custom script actions and copy the lines I posted there. But Keep in mind that the triggger may not work. |
| 12-09-2003, 05:47 PM | #60 |
The glow still remains red for me.:nono: EDIT: Bizzare! This only works when a player changes the ally filter. I changed the code to Code:
Events
Map Initialisation
Conditions
Actions
Custom script: loop
Custom script: call SetAllyColorFilterState(2)
Custom script: call SetAllyColorFilterState(0)
Custom script: call TriggerSleepAction(0.00)
Custom script: endloopThat seems to do the job. But i must warn though, your units protrait will be "dancing" around. Like every millisecond your units protrait will revert to its original animation.emote_sweat Try it and see for yourself. I understand how this works, basically it requires a change of ally filters to change the colours, but the original script seems to be not changing the filter, so it doesnt work (at least for me. Anyone else have the same experiences as me? |
