[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs | Hosted Projects | Starcraft II Modding | Starcraft II Resources | Galaxy Wiki |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III Modding > WarCraft III Tutorials > Trigger (GUI) Editor Tutorials


Trigger (GUI) Editor Tutorials Contains tutorials concerning the usage of GUI features.
Read the Rules before posting.

Reply
 
Thread Tools
Old 06-14-2011, 11:11 AM   #121 (permalink)
Registered User fvtb
User
 
Join Date: May 2011
Posts: 5
fvtb has little to show at this moment (4)
Thanks for this system. It works fine!
fvtb is offline   Reply With Quote
Old 07-18-2011, 08:26 AM   #122 (permalink)
Registered User Nike2000
User
 
Join Date: Jul 2011
Posts: 1
Nike2000 is an unknown quantity at this point (0)
Sorry for noob question, but I can't figure out how to make "Custom value of (triggering unit)" Can anyone help me:S?

edit: I found, thanks for the system<3
Nike2000 is offline   Reply With Quote
Old 08-02-2011, 02:58 PM   #123 (permalink)
Forum Moderator Bribe
Keep it simple
 
Bribe's Avatar
Spells, Help Zones & JASS Moderator
 
Join Date: Sep 2009
Posts: 5,765
Bribe has a brilliant future (1278)Bribe has a brilliant future (1278)Bribe has a brilliant future (1278)Bribe has a brilliant future (1278)
PayPal Donor: This user has donated to The Hive. 
What do you mean, "make custom value"? You mean how to replace it?
__________________
How to post your triggers on the Hive Workshop.
JPAG - Bettering the cause of readable source code.

Bribe is offline   Reply With Quote
Old 08-31-2011, 02:44 PM   #124 (permalink)
Registered User badsanta4cs
User
 
Join Date: Aug 2011
Posts: 12
badsanta4cs is an unknown quantity at this point (0)
hi guys..i just done a half of this tutorial and i need some help..explain me please how i make this lines
->Conditions
(Owner of (Triggering unit)) Equal to Neutral Hostile
(Custom Value of (Triggering unit)) Greater than 0
badsanta4cs is offline   Reply With Quote
Old 08-31-2011, 08:15 PM   #125 (permalink)
Registered User Pharaoh_
It's pixel WarCraft!
 
Pharaoh_'s Avatar
 
Join Date: Nov 2008
Posts: 7,716
Pharaoh_ has been here far too long (2938)Pharaoh_ has been here far too long (2938)Pharaoh_ has been here far too long (2938)Pharaoh_ has been here far too long (2938)Pharaoh_ has been here far too long (2938)Pharaoh_ has been here far too long (2938)Pharaoh_ has been here far too long (2938)
Former Staff Member: This user used to be on the Hive Workshop staff. Merit Badge - Level 0: This user has proven to be extremely valuable to the Warcraft III Modding Community. User of the Year: 2011 Short Story Contest #6 - Winner: When Death Reflects Life Voice Acting Contest #2 - Winner: Dark Angel 
Quote:
Originally Posted by badsanta4cs View Post
hi guys..i just done a half of this tutorial and i need some help..explain me please how i make this lines
->Conditions
(Owner of (Triggering unit)) Equal to Neutral Hostile
(Custom Value of (Triggering unit)) Greater than 0
The first one is a Player comparison (you can also use (Triggering player) Equal to Neutral Hostile) and the second one is an Integer comparison -> Unit - Custom value of unit.
__________________
Pharaoh_ is offline   Reply With Quote
Old 09-04-2011, 02:06 AM   #126 (permalink)
Registered User LOTUS.VaNiTy
User
 
LOTUS.VaNiTy's Avatar
 
Join Date: Jan 2011
Posts: 13
LOTUS.VaNiTy has little to show at this moment (2)
But what if 2 or more units dies at the same time will this trigger work?
LOTUS.VaNiTy is offline   Reply With Quote
Old 09-04-2011, 12:11 PM   #127 (permalink)
Registered User Squall_Leonheart
Ah~ Konbanwa~
 
Squall_Leonheart's Avatar
 
Join Date: Oct 2008
Posts: 151
Squall_Leonheart has little to show at this moment (18)Squall_Leonheart has little to show at this moment (18)
Quote:
Originally Posted by LOTUS.VaNiTy View Post
But what if 2 or more units dies at the same time will this trigger work?
it works well... dont just comment... read the other comments & posts b4 making ur own.... i even have an example made in the previous posts to help ppl who are clueless.... although all credits goes back to the creator.
__________________
Squall_Leonheart is offline   Reply With Quote
Old 09-04-2011, 10:16 PM   #128 (permalink)
Registered User xorkatoss
woot just reached 400 rep
 
xorkatoss's Avatar
 
Join Date: Jul 2010
Posts: 1,464
xorkatoss is just really nice (418)xorkatoss is just really nice (418)xorkatoss is just really nice (418)xorkatoss is just really nice (418)xorkatoss is just really nice (418)
Quote:
Originally Posted by Animoi666 View Post
you learn by doing it yourself... maybe ?
i know how to make one myself but im too lazy and i still have lots of others things to do like MUI spells...
also i searched the spells section and couldn't find anything...
so can you post the map? pretty pls?

EDIT:
nvm i made one up really quick...also you leak a point when you create a unit...
and i heard that using custom values of units is not good because if another system uses them too then it will bug...

to clear the point leak when you create the unit you should save X & Y and then load it using hastables...
see the creep respawn i made to get a clearer idea...

Creep Respawn System using Hashtables
CR Map Initialization
Events
Map initialization
Conditions
Actions
Hashtable - Create a hashtable
Set CreepRespawn_Hashtable = (Last created hashtable)
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by Neutral Hostile) and do (Actions)
Loop - Actions
Set CreepRespawn_Point = (Position of (Picked unit))
Hashtable - Save 8.00 as (Key Time) of (Key (Picked unit)) in CreepRespawn_Hashtable
Hashtable - Save (X of CreepRespawn_Point) as 1 of (Key (Picked unit)) in CreepRespawn_Hashtable
Hashtable - Save (Y of CreepRespawn_Point) as 2 of (Key (Picked unit)) in CreepRespawn_Hashtable
Custom script: call RemoveLocation(udg_CreepRespawn_Point)
CR Enter Map
Events
Unit - A unit enters (Playable map area)
Conditions
Actions
Set CreepRespawn_Point = (Position of (Triggering unit))
Hashtable - Save 8.00 as (Key Time) of (Key (Triggering unit)) in CreepRespawn_Hashtable
Hashtable - Save (X of CreepRespawn_Point) as 1 of (Key (Triggering unit)) in CreepRespawn_Hashtable
Hashtable - Save (Y of CreepRespawn_Point) as 2 of (Key (Triggering unit)) in CreepRespawn_Hashtable
Custom script: call RemoveLocation(udg_CreepRespawn_Point)
CR Respawn
Events
Unit - A unit Dies
Conditions
(Owner of (Triggering unit)) Equal to Neutral Hostile
Actions
Wait (Load (Key Time) of (Key (Triggering unit)) from CreepRespawn_Hashtable) seconds
Set CreepRespawn_Point = (Point((Load 1 of (Key (Triggering unit)) from CreepRespawn_Hashtable), (Load 2 of (Key (Triggering unit)) from CreepRespawn_Hashtable)))
Unit - Create 1 (Unit-type of (Triggering unit)) for Neutral Hostile at CreepRespawn_Point facing Default building facing degrees
Custom script: call RemoveLocation(udg_CreepRespawn_Point)


Quote:
at the least try understand how long it takes for the creator to come up with a decent leakless trigger.......
really? how long can it take? i did that creep respawn in less than 10 mins...
__________________
Xorkamizer Team!

Last edited by xorkatoss; 09-05-2011 at 04:43 PM.
xorkatoss is offline   Reply With Quote
Old 10-18-2011, 09:33 AM   #129 (permalink)
Registered User LOTUS.VaNiTy
User
 
LOTUS.VaNiTy's Avatar
 
Join Date: Jan 2011
Posts: 13
LOTUS.VaNiTy has little to show at this moment (2)
Sorry..Im just new..But thanks anyway i understand it^_^
LOTUS.VaNiTy is offline   Reply With Quote
Old 01-19-2012, 04:36 PM   #130 (permalink)
Registered User WrathOfTheAncients
User
 
WrathOfTheAncients's Avatar
 
Join Date: Jan 2012
Posts: 1
WrathOfTheAncients is an unknown quantity at this point (0)
I don't understand this part:

Set Temp_Integer = (Temp_Integer + 1)
"How can i get the '(Temp_Integer +1)' part? I can't find that!!"
Please help me oh my dear friends
WrathOfTheAncients is offline   Reply With Quote
Old 01-20-2012, 04:13 AM   #131 (permalink)
Registered User Squall_Leonheart
Ah~ Konbanwa~
 
Squall_Leonheart's Avatar
 
Join Date: Oct 2008
Posts: 151
Squall_Leonheart has little to show at this moment (18)Squall_Leonheart has little to show at this moment (18)
Quote:
Originally Posted by WrathOfTheAncients View Post
I don't understand this part:

Set Temp_Integer = (Temp_Integer + 1)
"How can i get the '(Temp_Integer +1)' part? I can't find that!!"
it is a custom trigger. u need to make it on ur own. press ctrl + B n u will see a new window. press edit variables, add new variables.

now label ur variable as wad u like, for this instance: Temp_Integer [this will be ur label/name of the variable u will create] now select the type of variable it belongs to, for temp_integer <--- this already tells u it is an integer, so select integer variable.

now create a new action, select set new variable options.
change the set new variable to the one u created.

u will have:
Set Temp_Integer = (something like this)
change the (something like this) to arithmetic n select ur Temp_Integer + 1

and u will have this
Set Temp_Integer = (select arithmetic from function)

then you need to change the function value of the arithmetic to Temp_Integer + 1.

in the end u get this:
Set Temp_Integer = (Temp_Integer + 1)
__________________
Squall_Leonheart is offline   Reply With Quote
Old 01-25-2012, 10:30 AM   #132 (permalink)
Registered User BonerBoo
User
 
BonerBoo's Avatar
 
Join Date: Jun 2011
Posts: 24
BonerBoo has little to show at this moment (1)
Help please, how can i make this trigger to spawn creeps for player 12 (Brown).
I tried to change, but creeps respawn only 1 time per game.

Will give +rep.
BonerBoo is offline   Reply With Quote
Old 01-25-2012, 02:00 PM   #133 (permalink)
Registered User Squall_Leonheart
Ah~ Konbanwa~
 
Squall_Leonheart's Avatar
 
Join Date: Oct 2008
Posts: 151
Squall_Leonheart has little to show at this moment (18)Squall_Leonheart has little to show at this moment (18)
Quote:
Originally Posted by BonerBoo View Post
Help please, how can i make this trigger to spawn creeps for player 12 (Brown).
I tried to change, but creeps respawn only 1 time per game.

Will give +rep.
have u set the creep death type?

i.e: unit decay, raised... or no raise no decay....

u'll have to be a lot more specific. :)
__________________
Squall_Leonheart is offline   Reply With Quote
Old 04-02-2012, 12:42 PM   #134 (permalink)
Registered User yumiyum
User
 
yumiyum's Avatar
 
Join Date: Mar 2012
Posts: 17
yumiyum is an unknown quantity at this point (0)
It works. Thanks SkriK.
__________________
I forgot myself.
I lost everything I had.
I was a tiny glint in eternal darkness.
How did I burn paradise?
yumiyum is offline   Reply With Quote
Old 04-03-2012, 02:29 AM   #135 (permalink)
Registered User Adiktuz
Engr. Shana, ChE
 
Adiktuz's Avatar
 
Join Date: Oct 2008
Posts: 9,978
Adiktuz has a brilliant future (1344)Adiktuz has a brilliant future (1344)Adiktuz has a brilliant future (1344)Adiktuz has a brilliant future (1344)Adiktuz has a brilliant future (1344)Adiktuz has a brilliant future (1344)
But what if 2 or more units dies at the same time will this trigger work?

--> yes, wc3 scripts run one-at-a-time...
Adiktuz is online now   Reply With Quote
Reply

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 Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Trigger] Creep Respawn No_one87 Triggers & Scripts 12 12-06-2007 04:14 PM
creep respawn... help dothackking Map Development 10 09-30-2005 04:44 AM
CREEP RESPAWN REQUEST!!!! xblack-deathx Map Development 13 10-31-2004 10:57 AM
CREEP RESPAWN REQUEST!!!! xblack-deathx Requests 5 01-01-1970 09:35 AM

All times are GMT. The time now is 05:45 AM.





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