• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

How are these done? or are they possible?

Status
Not open for further replies.
Level 8
Joined
Dec 9, 2009
Messages
397
I have been working on an ORPG map and have many ideas that I have not figured out myself. I've been looking at a lot of tutorials, and many message boards and I have not found anything on these topics:

I am using all triggers and don't know JASS

1. Stat based healing
Problem, the variable you set as hero stat must be a "real" where the
variable in the set "unit hp to unit hp + Variable x 5" requires an integer.

2. Disable Patrol
I would like a unit to be able to use move to follow, but not patrol.
(I don't want an AFK player to assist in battle)

3. Item rot system
I want an item to be destroyed after sitting on the field for 5 mins, but
if someone touches it, the timer is reset.
I tried to do something with unit groups ever 60 seconds, change unit
value of item to 1, all items with unit value of 1 to 2, all items with unit
value of 3 to 4, all items with value of 4 get destroyed.
But I don't see a way to add items to unit groups.

4. Aggro system
Have some ideas, would like to see if you guys know where one is.
 
I have been working on an ORPG map and have many ideas that I have not figured out myself. I've been looking at a lot of tutorials, and many message boards and I have not found anything on these topics:

I am using all triggers and don't know JASS

1. Stat based healing
Problem, the variable you set as hero stat must be a "real" where the
variable in the set "unit hp to unit hp + Variable x 5" requires an integer.

2. Disable Patrol
I would like a unit to be able to use move to follow, but not patrol.
(I don't want an AFK player to assist in battle)

3. Item rot system
I want an item to be destroyed after sitting on the field for 5 mins, but
if someone touches it, the timer is reset.
I tried to do something with unit groups ever 60 seconds, change unit
value of item to 1, all items with unit value of 1 to 2, all items with unit
value of 3 to 4, all items with value of 4 get destroyed.
But I don't see a way to add items to unit groups.

4. Aggro system
Have some ideas, would like to see if you guys know where one is.
It's very vaigue...

1. Integer 2 Real or Real 2 Integer.

2. Use some triggers like...
Every 5 seconds - If unit is patrolling a unit...

3. I saw an answer in a different help thread.

4. I have no idea.
 
3. Item rot system
I want an item to be destroyed after sitting on the field for 5 mins, but
if someone touches it, the timer is reset.
I tried to do something with unit groups ever 60 seconds, change unit
value of item to 1, all items with unit value of 1 to 2, all items with unit
value of 3 to 4, all items with value of 4 get destroyed.
But I don't see a way to add items to unit groups.

The only thing i can think of is to make a trigger that would check when items are dropped either from heroes or creeps, then wait 5 minutes and remove them from game.You can also add an if/then/else condition to help you detect if another hero has picked it and stop his removal from game.
 
Oh, I didn't reply to this one because I thought it was deleted. I had added it to favorites but It didn't exist when i tried going back the next day and didn't see it on list.

1. I found there was a trigger to convert real to integer and integer to real
so that problem was solved.

2. Is a unit considered an object in this event?
Unit - A unit Is issued an order targeting an object


3. Getting help in a new thread I had made after I couldn't find this one.

4. I was thinking of variable array where each skill has a point value, example
melee attack 1pt, fireball 2pt, heal 2pt, and then have a trigger for the
enemies around them to check the players unit with the highest point
value and attack it.
 
Status
Not open for further replies.
Back
Top