still don't work, but its almost right. The problem is when 2 units spawn with the same word I cant kill the first unit.
Example. zergling 1 spawns with word cat, zergling 2 now spawns also has the word cat. I type cat, and only the 2nd zergling will die, I have noway to get rid of that 1st zergling. (btw I don't want it to kill both) I just want 1 to die, then type again to kill the other
"Convert to int (random function *100)" and give it to a variable named RANDOM, give text tag TEXT[RANDOM] to that zergling and assign UNIT[RANDOM] to that zergling.
I created my variable array named text
I created my variable array named unit
I set variable text[1] and [2] and so on as my words
then I have trigger
every 5 seconds create zergling
Lost on what I do here????? convert him to to int random x100???????where or how do I do this?what is random variable?
attach text tag to last created unit the text Text[random #between 1 and 100] (I think I do this)
Also the killing unit part I couldn't find how to do, well I want to target and attack him, but same thing
I do want to find it on the map not create lol.
and I cant use text Tag - Create a text tag with the text "Little Mister Zerg" because that isn't random
Here is exactly what I want if its function was in the editor this should be clear example of what Im trying to do and what my map is
Event- Every 5 seconds of game time
Action- create 1 zergling for badguy player
Action-Create text tag on last created unit that says Word(random # between 1 and 100)
Event- player types message
Action-Order unit to attack unit with text tag of which the player wrote
then I have a variable array thats a string called word and I set those all up so 100 different words
so a zergling spawns and it has 1 of 100 different text tags to it added on spawn
I type that word and I shoot it.
Its a simple map I thought would take a few hours max to make but wow seems more difficult then I thought. Hope its possible, and thanks for responding
I can't find how I would add the text above his head?
create text tag(how do I display little mister zerg) above last created unit.
Also I cant seem to find load? what is that under sorry
all that does is adds a tiny word below the units name
Ill try to be a little more clear, I want random text tags to appear over a units head, so lets say I have a zergling lots of them will spawn in my map, every so many seconds. Everytime they spawn I want to create a text tag above their head thats random, so when I type that text tag, it finds that unit. I thought by making the text tag their name it might be easier to do this but I guess not seems impossible. So how would I do this then?
I need to be able to find the unit when I type the word, thats why I thought I would need to change the units name
Hope it works, if it don't maybe make an effect, that adds a behavior, then I know the behavior will only last a certain duration(its like stimpack), I dunno if its given through trigger if itll last forever or not. I would try to set it up to help you but cant till tomorrow, I can't get my own triggers to work lol. Maybe someone more pro will lend you a hand
well to do it the easy way with no "has buff"
E. unit enters region
C. region = to region A
C. unit has behavior (does nothing at all)
A. teleport to region B
go to behaviors in data editor, add a behavior, name it whatever u want, no need to edit anything on it, because it does nothing at all what so ever, this is the thing you give your char. when he teleports. O ya duration will matter, so he can get back to teleporting later, so set duration to whatever you think is fair like 3 seconds, so they have time to get out of the region, and can teleport again if they want
Im new to the editor and I usually use dumb long workarounds that people do 10x faster/easier, but anyway here is what I would do
I would have it add a buff or something, and when you have that buff you cant be teleported.
so
EVENT-unit enters region A
CONDITION- unit doesn't have buff/behavior
apply behavior to unit(u could just do that and end it) or have this behavior add a buff called recently teleported
I tried catalog but that updates all units of that type, I need something that changes a units name just that unit. so 1 marine can have 50 random names or whatever
sorry bad explaining. Im creating text tags on units randomly, when I type I want it to find that unit. So when I create a unit, its going to have random text tag overhead, then when I type that word over his head it finds that unit, sorry didn't want to give my map idea away but guess it don't matter not like its exactly original or best sc2 map idea ever lol
How would I have it so if I type marine I would get a marine?
I want to do this with all units, so I cant just do"create a marine", there's got to be a way to make the unit of the name I type
Is it possible to do?
What I mean on wow casting, is mangle for example on the druid, an ability you click(you don't target) and it just works. Now I can't just simply use instacast because then it would go off no matter what, I would only want it to go off if I already have someone selected. So I would somehow need to see my command card when I have an enemy unit selected, which I dunno if it's possible.
and diablo casting
I want it so you only see 2 abilities 1 being right click, and the other left click. You of course have more then 2 abilities, Im guessing I would use a dialog for when I click the ability button(then it shows dialog buttons, which are my spell icons, which I would then set as my right click). Would the setting them to right/left click be possible though?
ouch sorry thought this forum was for help,thanks though it worked. I tried other stuff to be fair, but ya Ill be sure to only ask for help on official forum lol
This works except for 1 problem, which could be a really cool effect, or bad, and its bad in my case :(. This critical strike ability goes off ANY attack, my marine has psionic storm, so when I do storm, I have a chance to shoot for extra damage(because I did my gun effect). If there's not a way to fix this I guess I could set the damage x2 and just have my spells critical but Id rather just have my basic attack crit
0
still don't work, but its almost right. The problem is when 2 units spawn with the same word I cant kill the first unit. Example. zergling 1 spawns with word cat, zergling 2 now spawns also has the word cat. I type cat, and only the 2nd zergling will die, I have noway to get rid of that 1st zergling. (btw I don't want it to kill both) I just want 1 to die, then type again to kill the other
0
@progammer: Go
I don't understand this part
"Convert to int (random function *100)" and give it to a variable named RANDOM, give text tag TEXT[RANDOM] to that zergling and assign UNIT[RANDOM] to that zergling.
I created my variable array named text I created my variable array named unit I set variable text[1] and [2] and so on as my words
then I have trigger every 5 seconds create zergling Lost on what I do here????? convert him to to int random x100???????where or how do I do this?what is random variable?
attach text tag to last created unit the text Text[random #between 1 and 100] (I think I do this)
Also the killing unit part I couldn't find how to do, well I want to target and attack him, but same thing
0
@threeleven: Go
stumped also?
0
@s3rius: Go
I do want to find it on the map not create lol. and I cant use text Tag - Create a text tag with the text "Little Mister Zerg" because that isn't random
Here is exactly what I want if its function was in the editor this should be clear example of what Im trying to do and what my map is
Event- Every 5 seconds of game time Action- create 1 zergling for badguy player Action-Create text tag on last created unit that says Word(random # between 1 and 100)
Event- player types message Action-Order unit to attack unit with text tag of which the player wrote
then I have a variable array thats a string called word and I set those all up so 100 different words
so a zergling spawns and it has 1 of 100 different text tags to it added on spawn I type that word and I shoot it.
Its a simple map I thought would take a few hours max to make but wow seems more difficult then I thought. Hope its possible, and thanks for responding
0
@s3rius: Go
I can't find how I would add the text above his head? create text tag(how do I display little mister zerg) above last created unit. Also I cant seem to find load? what is that under sorry
I would be able to target this unit right?
0
@caspersc: Go
all that does is adds a tiny word below the units name
Ill try to be a little more clear, I want random text tags to appear over a units head, so lets say I have a zergling lots of them will spawn in my map, every so many seconds. Everytime they spawn I want to create a text tag above their head thats random, so when I type that text tag, it finds that unit. I thought by making the text tag their name it might be easier to do this but I guess not seems impossible. So how would I do this then? I need to be able to find the unit when I type the word, thats why I thought I would need to change the units name
0
@threeleven: Go
Hope it works, if it don't maybe make an effect, that adds a behavior, then I know the behavior will only last a certain duration(its like stimpack), I dunno if its given through trigger if itll last forever or not. I would try to set it up to help you but cant till tomorrow, I can't get my own triggers to work lol. Maybe someone more pro will lend you a hand
0
@Lennywing: Go
well to do it the easy way with no "has buff" E. unit enters region C. region = to region A C. unit has behavior (does nothing at all) A. teleport to region B
go to behaviors in data editor, add a behavior, name it whatever u want, no need to edit anything on it, because it does nothing at all what so ever, this is the thing you give your char. when he teleports. O ya duration will matter, so he can get back to teleporting later, so set duration to whatever you think is fair like 3 seconds, so they have time to get out of the region, and can teleport again if they want
0
@Lennywing: Go
Im new to the editor and I usually use dumb long workarounds that people do 10x faster/easier, but anyway here is what I would do
I would have it add a buff or something, and when you have that buff you cant be teleported. so EVENT-unit enters region A CONDITION- unit doesn't have buff/behavior apply behavior to unit(u could just do that and end it) or have this behavior add a buff called recently teleported
0
@threeleven: Go
I tried catalog but that updates all units of that type, I need something that changes a units name just that unit. so 1 marine can have 50 random names or whatever
0
@caspersc: Go
sorry bad explaining. Im creating text tags on units randomly, when I type I want it to find that unit. So when I create a unit, its going to have random text tag overhead, then when I type that word over his head it finds that unit, sorry didn't want to give my map idea away but guess it don't matter not like its exactly original or best sc2 map idea ever lol
0
How would I have it so if I type marine I would get a marine? I want to do this with all units, so I cant just do"create a marine", there's got to be a way to make the unit of the name I type
0
Is it possible to do? What I mean on wow casting, is mangle for example on the druid, an ability you click(you don't target) and it just works. Now I can't just simply use instacast because then it would go off no matter what, I would only want it to go off if I already have someone selected. So I would somehow need to see my command card when I have an enemy unit selected, which I dunno if it's possible.
and diablo casting I want it so you only see 2 abilities 1 being right click, and the other left click. You of course have more then 2 abilities, Im guessing I would use a dialog for when I click the ability button(then it shows dialog buttons, which are my spell icons, which I would then set as my right click). Would the setting them to right/left click be possible though?
0
@zifoon: Go
ouch sorry thought this forum was for help,thanks though it worked. I tried other stuff to be fair, but ya Ill be sure to only ask for help on official forum lol
0
@zifoon: Go
This works except for 1 problem, which could be a really cool effect, or bad, and its bad in my case :(. This critical strike ability goes off ANY attack, my marine has psionic storm, so when I do storm, I have a chance to shoot for extra damage(because I did my gun effect). If there's not a way to fix this I guess I could set the damage x2 and just have my spells critical but Id rather just have my basic attack crit