As far as I know you can't do it... which doesn't make a whole lot of sense. But what you can do is have the dialog item trigger the effect that causes a nuclear launch. Now since there is probably more than one effect involved in the ability, you'd have to use the first effect in the sequence. You can do this by using the 'environment - create effect at point from unit' trigger.
You can make it so that the spell is used at the place the player clicks, but you cannot simulate anything that is linked to the cursor. So you get no targeting cursor, no AoE circle, no building placement preview and of course no nuke splat.
i read every one of these threads hoping some1 found a way... lol.... guess not again... if and WHEN it happens, you should make it a sticky s3rius.. hah
Idk , maybe there is really no way to do it atm
Issue order to unit doesn't really work the way I want because I would have to choose a fix point and issue an order to cast the ability in that specific point.
What I want is the nuclear missile area circle showing when you click on the dialog item, and then, the nuke effect will only happen when the player chooses the area.
The closest way to do it would be picking the point where the player cursor is, like s3rius said. The only problem with it is that in this case the cursor would always be in the place that the dialog item is in the screen.
But... w/e, thanks for the replies, and I hope blizz give us some way to do it ^^
I know this is a rather old post, but it makes more sense to bump this than make a new one.
Its been a bit sense this.... any chance someone has found a way? I really dont want to keep the normal Command Card enabled.
I noticed someone else replied to a post like that, all they said was "Issue Order Effect" any ideas?
update: Im using jim sniper form, made an effect type "issue order" then applied the effect via trigger, only works for spells that dont need a target =(
Yeah I tried to figure this out a ton in beta, at one point I even put script into a trigger to manually force the game to cast a targeted spell with the untargeted "issue order" command and even that didn't work. I ended up making the abilities so that clicking a dialog button would set a variable to a number corresponding to the spell I was casting, then clicking again would cast it on the point I clicked, but then I didn't have any aoe targeting or cursor effects so it felt kinda weird.
The last area I'd probably try to mess around with is actors since if you look up for example the PsiStormCursorSplat actor you can see that it's actually the thing that makes the aoe model for the cursor when you cast psi storm, but actors are pretty much the most mysterious part of the editor for me so I have no idea how that works.
Ultimately though even if you figured that out it would still be a hell of a lot of work to get this working, kinda sucks that Blizzard didn't include some important basic things like this.
Anyone know how to make a player use an ability when you click on a dialog item?
I'd like to make a nuclear missile in a dialog item, so, when you click it, you can choose the area and then call it. Any ideas?
Also, if anyone know how can I import icons to SC2 editor, plz tell me too ^^
Bump ^
@Metrael: Go
As far as I know you can't do it... which doesn't make a whole lot of sense. But what you can do is have the dialog item trigger the effect that causes a nuclear launch. Now since there is probably more than one effect involved in the ability, you'd have to use the first effect in the sequence. You can do this by using the 'environment - create effect at point from unit' trigger.
You can make it so that the spell is used at the place the player clicks, but you cannot simulate anything that is linked to the cursor. So you get no targeting cursor, no AoE circle, no building placement preview and of course no nuke splat.
@Metrael:
Yeah an issue order to player would be great.
i read every one of these threads hoping some1 found a way... lol.... guess not again... if and WHEN it happens, you should make it a sticky s3rius.. hah
Idk , maybe there is really no way to do it atm Issue order to unit doesn't really work the way I want because I would have to choose a fix point and issue an order to cast the ability in that specific point. What I want is the nuclear missile area circle showing when you click on the dialog item, and then, the nuke effect will only happen when the player chooses the area. The closest way to do it would be picking the point where the player cursor is, like s3rius said. The only problem with it is that in this case the cursor would always be in the place that the dialog item is in the screen.
But... w/e, thanks for the replies, and I hope blizz give us some way to do it ^^
I know this is a rather old post, but it makes more sense to bump this than make a new one.
Its been a bit sense this.... any chance someone has found a way? I really dont want to keep the normal Command Card enabled.
I noticed someone else replied to a post like that, all they said was "Issue Order Effect" any ideas?
update: Im using jim sniper form, made an effect type "issue order" then applied the effect via trigger, only works for spells that dont need a target =(
Yeah I tried to figure this out a ton in beta, at one point I even put script into a trigger to manually force the game to cast a targeted spell with the untargeted "issue order" command and even that didn't work. I ended up making the abilities so that clicking a dialog button would set a variable to a number corresponding to the spell I was casting, then clicking again would cast it on the point I clicked, but then I didn't have any aoe targeting or cursor effects so it felt kinda weird.
The last area I'd probably try to mess around with is actors since if you look up for example the PsiStormCursorSplat actor you can see that it's actually the thing that makes the aoe model for the cursor when you cast psi storm, but actors are pretty much the most mysterious part of the editor for me so I have no idea how that works.
Ultimately though even if you figured that out it would still be a hell of a lot of work to get this working, kinda sucks that Blizzard didn't include some important basic things like this.