Goldmines Trigger ?!
+3
seanlou
VampSuchti97
Rotd_Headshot
7 posters
:: Trash Can
Page 1 of 1
Goldmines Trigger ?!
How does that work with the Goldmines that I become 2 or 10 gold every minute ??
VampSuchti97- Recruit
- Posts : 2
Join date : 2011-06-03
Warn Status :
Re: Goldmines Trigger ?!
There is a separate trigger than is periodically checked every minute to give players their gold.
Anonymou_s- Administration:
- Posts : 748
Join date : 2009-07-02
ROTD Rank : Pandemic & Ultra
Warn Status :
Marine Statistics
MOS Specialty: Force Recon - 0321
MOS Experience:
(90/100)
Re: Goldmines Trigger ?!
Um wat?
Rotd_Headshot- Private (grade 2)
- Posts : 29
Join date : 2010-07-06
Age : 27
ROTD Rank : 2nd Liutennant
Warn Status :
Marine Statistics
MOS Specialty: Heavy Support
MOS Experience:
(1/0)
Re: Goldmines Trigger ?!
In Deutsch: Wie funktioniert der Auslöser, der mir jede Minute 2 oder 10 Gold gibt ?Rotd_Headshot wrote:Um wat?
VampSuchti97- Recruit
- Posts : 2
Join date : 2011-06-03
Warn Status :
Re: Goldmines Trigger ?!
doesn't the if statements with multiple actions crash in roc maps?
then again I am assuming this is for a roc map...
then again I am assuming this is for a roc map...
seanlou- Commander (grade 2)
- Posts : 259
Join date : 2010-07-11
Age : 32
ROTD Rank : SSgt
Warn Status :
Marine Statistics
MOS Specialty: Navy Corpsman
MOS Experience:
(27/100)
Re: Goldmines Trigger ?!
its for vamps ultra
dawownz- Moderation:
- Posts : 386
Join date : 2010-06-30
Age : 32
ROTD Rank : GoND.
Warn Status :
Marine Statistics
MOS Specialty: Being Noob
MOS Experience:
(90725/999999)
Re: Goldmines Trigger ?!
Yep. It wont work on RoC editor thats why you need to put it into jass for you to be able to edit it in RoC
In jass the IF/THEN/MULTIPLEELSE would be like this....
lets use a condition where it checks if the value for variable "Pizza" is set to a number greater than 5
In jass the IF/THEN/MULTIPLEELSE would be like this....
lets use a condition where it checks if the value for variable "Pizza" is set to a number greater than 5
- Code:
if udg_Pizza > 5 then
DO ACTIONS HERE
else
DO ELSE ACTIONS HERE
endif
Anonymou_s- Administration:
- Posts : 748
Join date : 2009-07-02
ROTD Rank : Pandemic & Ultra
Warn Status :
Marine Statistics
MOS Specialty: Force Recon - 0321
MOS Experience:
(90/100)
Re: Goldmines Trigger ?!
why couldnt you just put it in JASS for us then tell us where to edit the fields for how much gold we want? another question for dragon does tempgroup really need to be an array because you already destroyed the group after the first time?
ill do that for people when i get back from school
ill do that for people when i get back from school
nhscooter- Administration:
- Posts : 317
Join date : 2010-08-16
ROTD Rank : Terminal Lance Commandant
Warn Status :
Marine Statistics
MOS Specialty: 6432 Aviation Electronics Tech
MOS Experience:
(5/5)
Re: Goldmines Trigger ?!
nhscooter wrote:does tempgroup really need to be an array because you already destroyed the group after the first time?
I have them set as an Array because i've got Temgroup[3-10] are being used by something already. Why create about 10 different variables for each unit when i can make 1 variable and give it an array.
nhscooter wrote:why couldnt you just put it in JASS for us then tell us where to edit the fields for how much gold we want?
I could, but even if i did. Most of you wouldnt know how to edit it after, nor would most of you know how to implement it into your map. It really is confuzing for users who dont know Jass. I'd suggest using another method if you really want. Just ask me for other methods of using Multiple If Actions.
But, for you guys to see. Here is the Same trigger just in Text & JASS
Convert trigger to Custom Text (Note: Some people think doing this is giving them a JASS trigger, that is entirely wrong. Its just your regular Trigger changed to text. This makes it easier for some to turn it into JASS later on.)
JASS (Note: I did this by hand so i don't doubt there are spelling errors and syntax errors.)
You can see the difference in the 2.
Anonymou_s- Administration:
- Posts : 748
Join date : 2009-07-02
ROTD Rank : Pandemic & Ultra
Warn Status :
Marine Statistics
MOS Specialty: Force Recon - 0321
MOS Experience:
(90/100)
Re: Goldmines Trigger ?!
this i have 2 more questions and a few comments
question:
1) shouldnt the raw data code change for the units depending on their unit data so it would be differant for each person
2)cant you use only 2 functions instead of 3 and just call killfirstset 2 times?
comments:
1) if dragon says yes to the question you will have to change the 'h01E' and 'h00P' to the units raw data codes which caan be found by going to the Object Editor and going down to your units and hitting cntrl+d
2) this is one reason (among others) why we call dragon pro
3) good use of arrays
question:
1) shouldnt the raw data code change for the units depending on their unit data so it would be differant for each person
2)cant you use only 2 functions instead of 3 and just call killfirstset 2 times?
comments:
1) if dragon says yes to the question you will have to change the 'h01E' and 'h00P' to the units raw data codes which caan be found by going to the Object Editor and going down to your units and hitting cntrl+d
2) this is one reason (among others) why we call dragon pro
3) good use of arrays
nhscooter- Administration:
- Posts : 317
Join date : 2010-08-16
ROTD Rank : Terminal Lance Commandant
Warn Status :
Marine Statistics
MOS Specialty: 6432 Aviation Electronics Tech
MOS Experience:
(5/5)
Goldmines Trigger ?!
how i can make the "claws of gold,,
filipapeter- Banned
- Posts : 50
Join date : 2012-01-16
Age : 24
ROTD Rank : wtf rank???
Warn Status :
Marine Statistics
MOS Specialty: [MOS Name & Number]
MOS Experience:
(0/0)
Re: Goldmines Trigger ?!
filipapeter wrote:how i can make the "claws of gold,,
Event - Unit attacks
Conditions - unit has item (what item you want)
Actions - If random integer between 1 and (how often you choose) then add x gold to owner of attacking unit else do nothing
nhscooter- Administration:
- Posts : 317
Join date : 2010-08-16
ROTD Rank : Terminal Lance Commandant
Warn Status :
Marine Statistics
MOS Specialty: 6432 Aviation Electronics Tech
MOS Experience:
(5/5)
Re: Goldmines Trigger ?!
This is the simplest way in GUI.
Note: This is just a basic outline, this would need to be adjusted to fit the conditions in your map.
Note: This is just a basic outline, this would need to be adjusted to fit the conditions in your map.
Anonymou_s- Administration:
- Posts : 748
Join date : 2009-07-02
ROTD Rank : Pandemic & Ultra
Warn Status :
Marine Statistics
MOS Specialty: Force Recon - 0321
MOS Experience:
(90/100)
Similar topics
» New Vamp Version
» Chaosphere & Chronosphere Trigger ?
» Gold Mine trigger
» how to make chronosphere trigger
» Ultra hart of a vampire trigger
» Chaosphere & Chronosphere Trigger ?
» Gold Mine trigger
» how to make chronosphere trigger
» Ultra hart of a vampire trigger
:: Trash Can
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Sat 9 Nov 2024 - 5:41 by GHost
» LeadMyRank
Sun 7 Feb 2021 - 20:33 by jason-la-zone
» The forum is open again!
Sun 7 Feb 2021 - 19:30 by Fleaw
» Yo old friend anyone
Tue 4 Aug 2020 - 22:17 by Zigafoo
» yooooooooooooooooooooooo
Sun 25 Jun 2017 - 9:29 by dawownz
» Discord Channel & Facebook Group
Sat 15 Apr 2017 - 0:01 by psyscope
» EXCUSE ME (K1CKMYASS)
Thu 16 Mar 2017 - 6:08 by ShadowThong
» I'm back lets playyy
Thu 19 Jan 2017 - 21:37 by Infierno-
» admin admin
Tue 3 Jan 2017 - 15:42 by TheWildOnes