[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums | Starcraft II |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III Modding > Triggers & Scripts

Triggers & Scripts Discussions regarding GUI triggers & JASS/AI scripts may be found here. Please review the » JASS Tutorials » Trigger Tutorials

Closed Thread
 
LinkBack Thread Tools
Old 10-23-2007, 12:04 AM   #1 (permalink)
Registered User Lord_Death
User
 
Join Date: Oct 2007
Posts: 11
Lord_Death is an unknown quantity at this point (0)
Exclamation Very Complex in my eyes HELP PLEASE

Okay. So I'm working on this map called "Vampirism Death." I have a little extra in the game that is if you have an Item a killed unit drops, and you go to a region, the hero with the item is removed and replaced with another one. Any help?
Lord_Death is offline  
Old 10-23-2007, 12:56 AM   #2 (permalink)
Registered User FamousPker49
Un-Official Ass-Moderater
 
FamousPker49's Avatar
 
Join Date: May 2007
Posts: 1,647
FamousPker49 is a glorious beacon of light (442)FamousPker49 is a glorious beacon of light (442)FamousPker49 is a glorious beacon of light (442)FamousPker49 is a glorious beacon of light (442)FamousPker49 is a glorious beacon of light (442)FamousPker49 is a glorious beacon of light (442)
Terrain Contest #4 - Winner: Monster Mash 
I would suggest looking at some basic trigger tutorials which you can find Here and if you are still having trouble, I would be glad to help, but I find it is easier for someone to advance their knowledge in a subject if they have problems and are able to figure them out without help. I hope this helps you
__________________
Rep me if you agree rep is pointless
FamousPker49 is offline  
Old 10-23-2007, 01:24 AM   #3 (permalink)
Registered User Lord_Death
User
 
Join Date: Oct 2007
Posts: 11
Lord_Death is an unknown quantity at this point (0)
I've been working with this since I got out of school.. And I haven't figured it out, (By looking at the forums or by self experimentation..) Still in need of help.
Lord_Death is offline  
Old 10-23-2007, 09:17 AM   #4 (permalink)
Registered User edge[d1]
That User
 
edge[d1]'s Avatar
 
Join Date: Mar 2006
Posts: 311
edge[d1] has little to show at this moment (25)edge[d1] has little to show at this moment (25)edge[d1] has little to show at this moment (25)
as for actions, that is easy - there is an action called Unit-Replace. it can replace any hero with a hero-type you chose. you work out events and conditions.
edge[d1] is offline  
Old 10-23-2007, 07:51 PM   #5 (permalink)
Registered User Lord_Death
User
 
Join Date: Oct 2007
Posts: 11
Lord_Death is an unknown quantity at this point (0)
Events-
Unit - A unit enters *region* <gen>
Conditions-
*item* Equal to (Item carried by *hero* in slot 1)
Actions
Unit - Replace (Triggering unit) with a *hero2* using The old unit's relative life and mana
Sorry for double post was trying to edit ><
Lord_Death is offline  
Old 10-23-2007, 08:01 PM   #6 (permalink)
Registered User PurplePoot
 
Join Date: Dec 2005
Posts: 10,585
PurplePoot has a brilliant future (1402)PurplePoot has a brilliant future (1402)PurplePoot has a brilliant future (1402)PurplePoot has a brilliant future (1402)
Former Staff Member: This user used to be on the Hive Workshop staff. Respected User: This user has been given the respected user award. Paired Mapping Contest #4 - Winner: Fallen Angel - Lucifer's Keep Map Development Mini-Contest #1 - Winner: Stand of the Elements 
Second post deleted =o

You can click Edit Post -- Delete.
PurplePoot is offline  
Old 10-23-2007, 09:05 PM   #7 (permalink)
Registered User Lord_Death
User
 
Join Date: Oct 2007
Posts: 11
Lord_Death is an unknown quantity at this point (0)
Oh.. Ty vm ^^;;
Lord_Death is offline  
Old 10-25-2007, 01:10 PM   #8 (permalink)
Registered User FamousPker49
Un-Official Ass-Moderater
 
FamousPker49's Avatar
 
Join Date: May 2007
Posts: 1,647
FamousPker49 is a glorious beacon of light (442)FamousPker49 is a glorious beacon of light (442)FamousPker49 is a glorious beacon of light (442)FamousPker49 is a glorious beacon of light (442)FamousPker49 is a glorious beacon of light (442)FamousPker49 is a glorious beacon of light (442)
Terrain Contest #4 - Winner: Monster Mash 
Alright, if the only way to acquire this item is to kill a certain unit and get that item, then the trigger should look like this so you are searching every slot rather than the first one
Boom
Events
Unit - A unit enters (*Your Region*)
Conditions
Actions
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item carried by (Triggering Unit) in slot (Integer A)) Equal to (*Your Item*)
Then - Actions
Unit - Replace (Triggering unit) with a *Your Unit* using The old unit's relative life and mana
Else - Actions
__________________
Rep me if you agree rep is pointless
FamousPker49 is offline  
Closed Thread

Bookmarks

Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
My eyes DesKaladA Concept Art / Fan Art 8 08-29-2007 04:43 PM
Model of Demon Eyes Kyo needed Crimson King Requests 2 04-28-2006 12:29 AM
Ink eyes model? Gauntlet2021 Requests 1 02-22-2006 06:46 AM
Modelling Eyes JonnyNewo Modeling & Animation 2 07-01-2005 06:25 PM

All times are GMT. The time now is 09:13 PM.





Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.1
Copyright©Ralle