HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

In need of 2 triggers

02-23-2005, 08:48 PM#1
Mr.V
1:
I need one to remove "Set Rally Point" from buildings, I know it's something with JASS, but I don't know how to use JASS, and I have a deadline to make this map. I'll learn JASS later ^_^ I'd just like to have the trigger.

2:
I'm making a map like a TD, but you defend with units and not towers. But the disadvantage of this, is that the enemy doesn't attack when you block, like in TD. Does anyone have an idea or suggestion?

(You will of course be thanked in map and rep'ed here )
02-23-2005, 08:59 PM#2
Guest
For the 1)
If you can't remove it, you can at least use this:

E: A unit finishes construction
C: Ø
A: Order (last constructed unit) to stop
02-24-2005, 07:30 AM#3
Mr.V
Yea, I'm aware of that. But I want the stupid button removed :)
02-24-2005, 08:48 AM#4
Guest
Browse in the "advanced" menu, theres one of the options that creates a window where you can edit graphics and descriptions of things. Search the "set rally point" in there and replace its graphic with something else, and its description too :/
02-24-2005, 12:19 PM#5
Mr.V
I know that too, but if anyone would remove the button. It has to be done through JASS somehow. Just don't quite know how.
02-24-2005, 01:45 PM#6
Bulletcatcher
This should do it:
Code:
UnitRemoveAbility(unit_variable, 'ARal')
02-24-2005, 03:55 PM#7
Guest
It's not very simple to understand but it's a very classical solution
First, you need to create an invisible and invincible and size 0.01 unit.
Then, make a trigger so it runs every 10 seconds in each way.
Add a boleean condition in your life loss if you have any lives system (unit type of entering unit equal to (testrunner) equal to (false))
And make a trigger that makes so that when the unit stops, it is considered as a blocking.
If you don't know how to make any trigger, tell me, but I guess you do ^_^
02-24-2005, 03:56 PM#8
Mr.V
Already thought of that. But I hoped that there was a more simple way. No rep for you, LOL! :) (j/k)
And for the JASS, thank you - it works!
02-24-2005, 04:05 PM#9
Azhag
Heres my thought.... Make a trigger where when one of the enemiy units is stopped, like he said above, its considered blocked. Then tell it to Move-Attack.
Heres the trigger im thinking.

E: A unit stops moving. (I don't know if there is a stop moving trigger)(Hopefully you can find it yourself, as you said, you already thought of that)
C: Triggering unit owned by player *
A: Issue triggering unit to Move-Attack to point *where they supposed to go*

This way the unit will attack all units blocking, unit it can get through.
Hope I helped.
02-24-2005, 04:13 PM#10
Mr.V
Okay, I'll check that out. I'll work on it a bit later tonight and I'll post here how it went.
02-24-2005, 07:10 PM#11
Mr.V
What's the event for a unit being stopped or stopping?
02-24-2005, 07:16 PM#12
Kamux
Untitled Trigger 001
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Current order of (Triggering unit)) Equal to (Order(stop)))) and do (Actions)
Loop - Actions
Your actions

maby this will work
02-24-2005, 08:39 PM#13
Azhag
That might work. Hopefully my idea, and his idea can make the trigger . Reply back if it works, cause i could use this trigger, plz and thank u.
02-25-2005, 12:32 PM#14
Mr.V
I'll work on it tomorrow. No time today, sorry :(
02-26-2005, 08:55 AM#15
Mr.V
I've experimented with it and it doesn't work. I mean the part with "Unit Group - Pick every unit in (Units in (Playable map area) matching ((Current order of (Triggering unit)) Equal to (Order(stop)))) and do (Actions)"

Will anyone try to make something that works? 'cause I've tried almost everything. Only thing left, as far as I see - is to make that unit run through, but it seems so unprofessional