| 04-15-2008, 01:20 AM | #1 |
Yeah, simple problem. How can I create special effects with height? I don't care if it's GUI or Jass, but if it's in Jass a small walk through of it would be nice. vJass or any non-vanilla Jass WILL cause problems to me, though. Thanks ahead. This "request" sounds familiar to me, so feel free to tell me... I did search but I couldn't find anything with my answer. |
| 04-15-2008, 01:32 AM | #2 |
Download the global dummy unit made by vexorian: You can find it in the shrapnade spell made by Rising Dusk Create a dummy unit and then assign the dummy model for it Create a effect in the origin of the unit. and then set fly height to the model. |
| 04-15-2008, 01:47 AM | #3 |
Well... that may not be the best option for me as I'm generating roughly 200 effects or something... I thought in the JassVault (or whatever it's called, I forgot) they had something which used a dummy doodad method. Or is Vexorian's dummy model the only real solution here...? |
| 04-15-2008, 01:49 AM | #4 | |
Quote:
|
| 04-15-2008, 02:48 AM | #5 | |
Quote:
200 is quite a low number anyways. |
| 04-15-2008, 02:58 AM | #6 |
You can either do it the way moyack said, or just do something like this: http://wc3jass.com/viewtopic.php?t=2472&start=0 |
| 04-15-2008, 07:08 AM | #7 | |
Quote:
That was the one I was looking for, I have it bookmarked to keep track of it. On other notes... +Rep to everyone who helped. EDIT! JASS:function AddSpecialEffectZ takes string path, real x, real y, real z returns effect local destructable d = CreateDestructableZ( 'OTip', x, y, z, 0.00, 1, 0 ) set bj_lastCreatedEffect = AddSpecialEffect( path, x, y ) call RemoveDestructable( d ) set d = null return bj_lastCreatedEffect endfunction |
| 04-15-2008, 09:20 AM | #8 |
| 04-15-2008, 09:54 AM | #9 |
call RemoveDestructable( d ) orly? |
| 04-15-2008, 01:07 PM | #10 |
Nevermind, it wasn't creating an effect attached to destructible, I am having weird thoughts lately ![]() |
| 04-17-2008, 12:34 PM | #11 |
use dummy model by infrane. u can set it's pitch (vertical facing angle) |
| 04-17-2008, 11:00 PM | #12 | |
Quote:
Is there a difference efficiency-wise? |
