GUI Trigger Requests

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

User avatar
Thanatos_820
Newcomer
Posts: 17
Joined: February 11th, 2007, 10:38 pm

GUI Trigger Requests

Post by Thanatos_820 »

Okay, I got a few problems with GUI, most are no problems to experienced mappers but the AI, a worst nightmare to most, except with the mind of AceHart. Here are my problems:

Income System:

I'm in need of an income system for my map, (4) Sunken Frenzy. I need a fully compattable icome system that gives gold depending on the amount of kills scored, for example:

You start off with 100 gold, +5 income.
You killed 2 Rank 1 Melee units, +4 income.
You killed 2 Rank 2 Melee units, +8 income.

Okay, that's the first request, the other half is a text that shows all player's income and updates for each kill scored.

Spells

I can't seem to get a trigger that's for buyable spells. Here's what it's suppose to do:

You got the gold/lumber for the spell. You don't click me the spell, now it becomes a permanant spell in your command card.

Spells 2

I'm in need of help with this one...it's suppose to level spells up when you don't click me them again I suppose it deals with the if, then, else trigger I think.

Can anyone help me with it?

I'll bring up more questions later.....
Last edited by Thanatos_820 on February 12th, 2007, 10:30 pm, edited 1 time in total.
User avatar
Totti_8
S.M.B. Creator
Posts: 84
Joined: January 20th, 2007, 11:32 am
Location: Germany

Post by Totti_8 »

about the first Question:

Do you mean: If you kill 1 Melee unit you will get the normally 5 Income plus 4 or only 4 (the normally -1) ?


The Second Question:

Event:

- A Unit gets an Item

Condition:

- (Item being Manipulated) = [your item]

Aktion

- [Hero - Add Ability]
Add [your ability] to (Triggering Unit)
- [Item - Remove]
Remove (Item being Manipulated)


Is this the Question to your answer?
User avatar
Thanatos_820
Newcomer
Posts: 17
Joined: February 11th, 2007, 10:38 pm

Post by Thanatos_820 »

Totti_8 wrote:about the first Question:

Do you mean: If you kill 1 Melee unit you will get the normally 5 Income plus 4 or only 4 (the normally -1) ?


The Second Question:

Event:

- A Unit gets an Item

Condition:

- (Item being Manipulated) = [your item]

Aktion

- [Hero - Add Ability]
Add [your ability] to (Triggering Unit)
- [Item - Remove]
Remove (Item being Manipulated)


Is this the Question to your answer?
First One: Okay, you start off with an income of 5 without any kills. You kill a rank 1 unit so you get 4 bonus income, raising it to 9. As you kill, your income increases. It's like Hero Line Wars but different, you kill and now spawn.

Second One: Ah yes, thakes Totti_8 :).

There's a new question now.....
User avatar
Totti_8
S.M.B. Creator
Posts: 84
Joined: January 20th, 2007, 11:32 am
Location: Germany

Post by Totti_8 »

First one:

First create a Variable Integer Array 10 named "Income" [or whatever you want].


Then create the Trigger:
Event

A unit dies

Condition

(Triggering unit) is a Melee Attacker

Aktion

Set (Income(Number of (Owner of (Killing Unit))) = (Income(Number of (Owner of (Killing Unit))) + 4

And than you need a Trigger which gives all Players every few Seconds (don't know what time you want...) the Income.
Event

Every 10.00 [the time you want] Seconds of Game Time

Condition

[none]

Aktion

Add (Income(1) to Player 1's actually gold
Add (Income(2) to Player 2's actually gold
Add (Income(3) to Player 3's actually gold
Add (Income(4) to Player 4's actually gold

Well, i hope your question has been answered.

Now the new Question :D
Last edited by Totti_8 on February 19th, 2007, 12:01 pm, edited 1 time in total.
User avatar
Thanatos_820
Newcomer
Posts: 17
Joined: February 11th, 2007, 10:38 pm

Post by Thanatos_820 »

Okay thanks Totti_8.
User avatar
Totti_8
S.M.B. Creator
Posts: 84
Joined: January 20th, 2007, 11:32 am
Location: Germany

Post by Totti_8 »

You have a third question, don't you?

you wrote in your post at the top that there is a new question.

I will answer questions :D