(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > World Editor Help Zone

World Editor Help Zone Need help with Blizzard's World Editor? Ask general questions about its features and use in this forum. README!

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 09-20-2006, 04:45 PM   #1 (permalink)
Registered User Ben

User
 
Join Date: Sep 2006
Posts: 11

Ben is an unknown quantity at this point (0)


Set research level to zero

Hi guys, i want to reset a researched technology if the map restarts. my reset-trigger has the action :
Player - Set the current research level of Weapon Upgrade to 0 for (Player(((Integer A) + 1)))
But it doesnt work. Anyone can give me a hint ??
Ben is offline  
Old 09-21-2006, 05:21 PM   #2 (permalink)
 
Warnicro's Avatar

cinematographer
 
Join Date: Jun 2004
Posts: 529

Warnicro has little to show at this moment (56)

Respected User: This user has been given the respected user award. 

Quote:
Originally Posted by Ben View Post
Hi guys, i want to reset a researched technology if the map restarts. my reset-trigger has the action :
Player - Set the current research level of Weapon Upgrade to 0 for (Player(((Integer A) + 1)))
But it doesnt work. Anyone can give me a hint ??
Where is your Integer A setting?
__________________
Warnicro is offline  
Old 09-22-2006, 01:39 AM   #3 (permalink)
Registered User Ben

User
 
Join Date: Sep 2006
Posts: 11

Ben is an unknown quantity at this point (0)


reset
Events
Conditions
Actions
For each (Integer A) from 0 to 5, do (Actions)
Loop - Actions
Player - Set the current research level of Weapon Upgrade to 0 for (Player(((Integer A) + 1)))
Player - Set the current research level of Attackspeed to 0 for (Player(((Integer A) + 1)))
If (((Player(((Integer A) + 1))) slot status) Equal to Is playing) then do (Set plays[(Integer A)] = True) else do (Set plays[(Integer A)] = False)

The loop works, but i cant reset Attackspeed and Weaponupgrade to level 0. (The variable plays is initialized correctly)
Ben is offline  
Old 09-22-2006, 05:19 AM   #4 (permalink)
Owner
 
Ralle's Avatar

WoW! StarCraft II
 
Join Date: Oct 2004
Posts: 6,116

Ralle has disabled reputation (1524)Ralle has disabled reputation (1524)Ralle has disabled reputation (1524)Ralle has disabled reputation (1524)


why not doing it from 1-5 then the playerid's are correct from the beginning
__________________
Info:
Ralle'sSigna-ture
Todo ListPM MeNews
Progress:
New Section
||||||||||
Ralle is offline  
Old 09-22-2006, 01:37 PM   #5 (permalink)
 
Rao Dao Zao's Avatar

New Romantic
 
Join Date: Mar 2004
Posts: 1,225

Rao Dao Zao is a name known to all (630)Rao Dao Zao is a name known to all (630)

Respected User: This user has been given the respected user award. 

You can't "unlearn" techs. It's impossible. Absolutely impossible. Once you up the level of a tech, that's it. Forever.
__________________
Rao Dao Zao is offline  
Old 09-22-2006, 07:12 PM   #6 (permalink)
Registered User Ben

User
 
Join Date: Sep 2006
Posts: 11

Ben is an unknown quantity at this point (0)


Damn ... ... is there no solution at all ? or something like a workaround ??
Ben is offline  
Old 09-23-2006, 10:35 AM   #7 (permalink)
 
Daelin's Avatar

Kelani mage
 
Join Date: Jul 2004
Posts: 3,305

Daelin is just really nice (336)Daelin is just really nice (336)Daelin is just really nice (336)

Respected User: This user has been given the respected user award. Special Effect Competition #1 Winner: Frozen Effects 

Yes there is. Make level 1 do nothing, and start from level 2 with bonuses. ;)

~Daelin
Daelin is offline  
Old 09-24-2006, 12:17 PM   #8 (permalink)
Registered User Ben

User
 
Join Date: Sep 2006
Posts: 11

Ben is an unknown quantity at this point (0)


cool. If that works... thanks a lot
Ben is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] How to set a level requirement on an item Beau World Editor Help Zone 6 04-28-2008 03:44 AM
Research Problem. Ss-4-Goku Triggers & Scripts 5 03-24-2008 11:56 AM
[Trigger] stock pause and set-level triggers danewhero Triggers & Scripts 1 07-30-2007 08:46 PM
How Do I Set The Max Hero Level? superken1234 World Editor Help Zone 6 05-13-2007 03:22 PM
need help! set max hero level Bastürk Map Development 2 10-16-2004 05:42 PM

All times are GMT. The time now is 08:33 AM.






Your link here 
Mortgages | Xbox Mod Chip | Myspace Layouts | Remortgages | Problem Mortgage
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle