• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Bullets movement

Status
Not open for further replies.
Level 29
Joined
Jul 29, 2007
Messages
5,174
Can someobe by any chance create for me (and some other guys who need this) a easy to use JASS script that will make a MUI bullets movement ?

By bullet movement I mean, for example, like the Counter Strike map, that people shoot and the bullets move forward.

It seems to me its pretty much impossible to make MUI without leaks in GUI.

Thanks in advance.
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
He means one will go and dissapear on hit
hmm 1 timer 1 struct done
if you ask this you dont know about attaching something to a timer
you should learn how to first
you wont need to ask for something like this then
good luck


Hmm something is wrong
Ah yea I didnt flame someone
lets fix it, ZOMG ALL ARE NOOBS GO YOUR HOMES LOLZ FTW WTF
 

TKF

TKF

Level 19
Joined
Nov 29, 2006
Messages
1,267
Either he's wrong, or I'm correct.
LOL! ops! With that statement I'm correct both ways :grin: . I meant "Either he's wrong, or I'm wrong"

It's not completely MUI, since only 1 projectile can explode every time the trigger fires when the condition is met if I'm interpetating it correclty... I be better of setting it to 0.03 I think, instead of 0.05...


Also JASS doesn't lagg as much as GUI. You'll notice it when there is many projectiles in movement... So projectile system in JASS owns GUI...
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
That does seem to help because it allows us to only set a point at the shooting unit's position, instead of creating also another one at the shooting's direction.

Thanks :)

Now is there any more efficient way to make the bullets die then picking every unit in the map, checking if there is a bullet next to him, picking every unit around the unit that matches "unit type equal to blabla" and kill ?
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
and its not my projectile system or something anyway
guy asked how can I do a spell that you send bullet to front of caster
and it explodes on contact in GUI
and I answered
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
And another question,
Changing a unit's height via the "Animation - Change unit's height" is like making a Wait action ?

For example, if im changing some unit's height to xxx in 3 seconds, will the trigger wait 3 seconds untill the height was changed and then continue or will it continue with the next action while changing the height ?
 

TKF

TKF

Level 19
Joined
Nov 29, 2006
Messages
1,267
Ok, I want the projectile to do damage, and it's not included in Mini-me's projectile system. It's very nice, but I need that thing to do damage. I have no idea how to implement damage in that complicated system... ...Also it's simple to change the current values.... so a +
reputation.gif
for Mini-Me. Best direct forward projectile system I've seen so far... :thumbs_up:

But at least my bullets will not be idle peasants... :xxd:
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
Yes, this system pwns :)

+rep

Tried to make this thing (you can check in the Spells and Systems forum) that picks up every unit in the map that has a buff (a "bullets buff"), then pick every unit near the picked unit, matching type of bullet, and then killing the bullet and damaging the unit.

Didn't work though, any better way ? :p


[offtopic] lol ! I was so surprized it worked for me the first time.
Things tend to ... not work as much as they can, for me. lol
 
Status
Not open for further replies.
Top