• 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.

Upgrade trigger problem

Status
Not open for further replies.
Level 4
Joined
Jul 20, 2005
Messages
107
Can someone find some error with my upgrade?

Human Big Peasant
Events
Time - Every 900.00 seconds of game time
Conditions
Actions
Player - Set the current research level of Hit Point Improvement [1th] to ((Current research level of Hit Point Improvement [1th] for Player 6 (Orange)) + 1) for Player 6 (Orange)

It did upgrade, but only upgrade the first 900s, and didnt upgrade after that.
 
Level 2
Joined
Jul 21, 2005
Messages
32
Try putting actions :

Trigger - Turn of (this trigger).
Trigger - Turn on (Hit Point Improvenent [2th]) trigger.
 
Level 16
Joined
Oct 30, 2004
Messages
1,277
Try this:

event - every 900 seconds
conditions - none
actions:
-Set variable 'research_level' = (research_level + 1)
-Player - Set the current research level of Hit Point Improvement [1th] to 'research_level' for Player 6 (Orange)

research_level is integer variable, default value 1, not an array.
 
Level 4
Joined
Jul 20, 2005
Messages
107
Try this:

event - every 900 seconds
conditions - none
actions:
-Set variable 'research_level' = (research_level + 1)
-Player - Set the current research level of Hit Point Improvement [1th] to 'research_level' for Player 6 (Orange)

research_level is integer variable, default value 1, not an array.

It doesn't work
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Its obvious that by the [1th] he thinks that it will use the upgrade called [2th] and so on if im not mistaken.

Set the current research level ONLY changes the imputed technoliges level, it WILL NOT change the tech you imput it with, it will only change its levels.

The max tech level is equal to that you set it in the object editor to.
SO make sure you got atleast 10 levels for 9000 secs of upgrades.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Please stop double posting. . .
Well anyway, try using manual tech up

Have a trigger that ints the system by making a dummy unit and getting it to research the tech for free (tech takes X secs to research (X you set))
As soon as the tech is researched you order it to research it again and repeat the cycle.

This method CAN NOT FAIL since as long as you can reasearch the tech, it will up its level.
 
Status
Not open for further replies.
Top