Would you like to react to this message? Create an account in a few clicks or log in to continue.
Log in

I forgot my password

November 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
252627282930 

Calendar Calendar


Goldmines Trigger ?!

+3
seanlou
VampSuchti97
Rotd_Headshot
7 posters

Go down

Goldmines Trigger ?! Empty Goldmines Trigger ?!

Post  VampSuchti97 Fri 3 Jun 2011 - 11:12

How does that work with the Goldmines that I become 2 or 10 gold every minute ?? Question

VampSuchti97
Recruit
Recruit

Posts : 2
Join date : 2011-06-03
Warn Status :
Goldmines Trigger ?! Left_bar_bleue0 / 40 / 4Goldmines Trigger ?! Right_bar_bleue


Back to top Go down

Goldmines Trigger ?! Empty Re: Goldmines Trigger ?!

Post  Anonymou_s Fri 3 Jun 2011 - 16:23

Goldmines Trigger ?! Trigge10

There is a separate trigger than is periodically checked every minute to give players their gold.
Anonymou_s
Anonymou_s
Administration:
Administration:

Posts : 748
Join date : 2009-07-02
ROTD Rank : Pandemic & Ultra
Warn Status :
Goldmines Trigger ?! Left_bar_bleue0 / 40 / 4Goldmines Trigger ?! Right_bar_bleue


Marine Statistics
MOS Specialty: Force Recon - 0321
MOS Experience:
Goldmines Trigger ?! Left_bar_bleue90/100Goldmines Trigger ?! Empty_bar_bleue  (90/100)

http://www.rotd.forumotion.net

Back to top Go down

Goldmines Trigger ?! Empty Re: Goldmines Trigger ?!

Post  Rotd_Headshot Sat 4 Jun 2011 - 6:23

Um wat?
Rotd_Headshot
Rotd_Headshot
Private (grade 2)
Private (grade 2)

Posts : 29
Join date : 2010-07-06
Age : 27
ROTD Rank : 2nd Liutennant
Warn Status :
Goldmines Trigger ?! Left_bar_bleue1 / 41 / 4Goldmines Trigger ?! Right_bar_bleue


Marine Statistics
MOS Specialty: Heavy Support
MOS Experience:
Goldmines Trigger ?! Left_bar_bleue1/0Goldmines Trigger ?! Empty_bar_bleue  (1/0)

Back to top Go down

Goldmines Trigger ?! Empty Re: Goldmines Trigger ?!

Post  VampSuchti97 Sat 4 Jun 2011 - 9:33

Rotd_Headshot wrote:Um wat?
In Deutsch: Wie funktioniert der Auslöser, der mir jede Minute 2 oder 10 Gold gibt ? Question

VampSuchti97
Recruit
Recruit

Posts : 2
Join date : 2011-06-03
Warn Status :
Goldmines Trigger ?! Left_bar_bleue0 / 40 / 4Goldmines Trigger ?! Right_bar_bleue


Back to top Go down

Goldmines Trigger ?! Empty Re: Goldmines Trigger ?!

Post  seanlou Sat 4 Jun 2011 - 13:39

doesn't the if statements with multiple actions crash in roc maps?

then again I am assuming this is for a roc map...
seanlou
seanlou
Commander (grade 2)
Commander (grade 2)

Posts : 259
Join date : 2010-07-11
Age : 32
ROTD Rank : SSgt
Warn Status :
Goldmines Trigger ?! Left_bar_bleue0 / 40 / 4Goldmines Trigger ?! Right_bar_bleue


Marine Statistics
MOS Specialty: Navy Corpsman
MOS Experience:
Goldmines Trigger ?! Left_bar_bleue27/100Goldmines Trigger ?! Empty_bar_bleue  (27/100)

Back to top Go down

Goldmines Trigger ?! Empty Re: Goldmines Trigger ?!

Post  dawownz Sat 4 Jun 2011 - 14:04

its for vamps ultra
dawownz
dawownz
Moderation:
Moderation:

Posts : 386
Join date : 2010-06-30
Age : 32
ROTD Rank : GoND.
Warn Status :
Goldmines Trigger ?! Left_bar_bleue0 / 40 / 4Goldmines Trigger ?! Right_bar_bleue


Marine Statistics
MOS Specialty: Being Noob
MOS Experience:
Goldmines Trigger ?! Left_bar_bleue90725/999999Goldmines Trigger ?! Empty_bar_bleue  (90725/999999)

http://pictures.topspeed.com/IMG/crop/201109/lotus-elise-s-1_160

Back to top Go down

Goldmines Trigger ?! Empty Re: Goldmines Trigger ?!

Post  Anonymou_s Sat 4 Jun 2011 - 14:17

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
Code:

    if udg_Pizza > 5 then
        DO ACTIONS HERE
    else
        DO ELSE ACTIONS HERE
    endif
Anonymou_s
Anonymou_s
Administration:
Administration:

Posts : 748
Join date : 2009-07-02
ROTD Rank : Pandemic & Ultra
Warn Status :
Goldmines Trigger ?! Left_bar_bleue0 / 40 / 4Goldmines Trigger ?! Right_bar_bleue


Marine Statistics
MOS Specialty: Force Recon - 0321
MOS Experience:
Goldmines Trigger ?! Left_bar_bleue90/100Goldmines Trigger ?! Empty_bar_bleue  (90/100)

http://www.rotd.forumotion.net

Back to top Go down

Goldmines Trigger ?! Empty Re: Goldmines Trigger ?!

Post  nhscooter Mon 6 Jun 2011 - 8:24

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
nhscooter
nhscooter
Administration:
Administration:

Posts : 317
Join date : 2010-08-16
ROTD Rank : Terminal Lance Commandant
Warn Status :
Goldmines Trigger ?! Left_bar_bleue0 / 40 / 4Goldmines Trigger ?! Right_bar_bleue


Marine Statistics
MOS Specialty: 6432 Aviation Electronics Tech
MOS Experience:
Goldmines Trigger ?! Left_bar_bleue5/5Goldmines Trigger ?! Empty_bar_bleue  (5/5)

https://rotd.forumotion.net/profile.forum?mode=viewprofile&u=

Back to top Go down

Goldmines Trigger ?! Empty Re: Goldmines Trigger ?!

Post  Anonymou_s Tue 7 Jun 2011 - 2:13

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.)
Goldmines Trigger ?! Texted10

JASS (Note: I did this by hand so i don't doubt there are spelling errors and syntax errors.)
Goldmines Trigger ?! Jassed10

You can see the difference in the 2.
Anonymou_s
Anonymou_s
Administration:
Administration:

Posts : 748
Join date : 2009-07-02
ROTD Rank : Pandemic & Ultra
Warn Status :
Goldmines Trigger ?! Left_bar_bleue0 / 40 / 4Goldmines Trigger ?! Right_bar_bleue


Marine Statistics
MOS Specialty: Force Recon - 0321
MOS Experience:
Goldmines Trigger ?! Left_bar_bleue90/100Goldmines Trigger ?! Empty_bar_bleue  (90/100)

http://www.rotd.forumotion.net

Back to top Go down

Goldmines Trigger ?! Empty Re: Goldmines Trigger ?!

Post  nhscooter Tue 7 Jun 2011 - 8:33

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
nhscooter
nhscooter
Administration:
Administration:

Posts : 317
Join date : 2010-08-16
ROTD Rank : Terminal Lance Commandant
Warn Status :
Goldmines Trigger ?! Left_bar_bleue0 / 40 / 4Goldmines Trigger ?! Right_bar_bleue


Marine Statistics
MOS Specialty: 6432 Aviation Electronics Tech
MOS Experience:
Goldmines Trigger ?! Left_bar_bleue5/5Goldmines Trigger ?! Empty_bar_bleue  (5/5)

https://rotd.forumotion.net/profile.forum?mode=viewprofile&u=

Back to top Go down

Goldmines Trigger ?! Empty Goldmines Trigger ?!

Post  filipapeter Tue 24 Jan 2012 - 13:37

how i can make the "claws of gold,,

filipapeter
Banned
Banned

Posts : 50
Join date : 2012-01-16
Age : 24
ROTD Rank : wtf rank???
Warn Status :
Goldmines Trigger ?! Left_bar_bleue4 / 44 / 4Goldmines Trigger ?! Right_bar_bleue


Marine Statistics
MOS Specialty: [MOS Name & Number]
MOS Experience:
Goldmines Trigger ?! Left_bar_bleue0/0Goldmines Trigger ?! Empty_bar_bleue  (0/0)

Back to top Go down

Goldmines Trigger ?! Empty Re: Goldmines Trigger ?!

Post  nhscooter Sat 28 Jan 2012 - 18:21

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
nhscooter
Administration:
Administration:

Posts : 317
Join date : 2010-08-16
ROTD Rank : Terminal Lance Commandant
Warn Status :
Goldmines Trigger ?! Left_bar_bleue0 / 40 / 4Goldmines Trigger ?! Right_bar_bleue


Marine Statistics
MOS Specialty: 6432 Aviation Electronics Tech
MOS Experience:
Goldmines Trigger ?! Left_bar_bleue5/5Goldmines Trigger ?! Empty_bar_bleue  (5/5)

https://rotd.forumotion.net/profile.forum?mode=viewprofile&u=

Back to top Go down

Goldmines Trigger ?! Empty Re: Goldmines Trigger ?!

Post  Anonymou_s Sat 28 Jan 2012 - 18:37

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.

Goldmines Trigger ?! 2mfls42
Anonymou_s
Anonymou_s
Administration:
Administration:

Posts : 748
Join date : 2009-07-02
ROTD Rank : Pandemic & Ultra
Warn Status :
Goldmines Trigger ?! Left_bar_bleue0 / 40 / 4Goldmines Trigger ?! Right_bar_bleue


Marine Statistics
MOS Specialty: Force Recon - 0321
MOS Experience:
Goldmines Trigger ?! Left_bar_bleue90/100Goldmines Trigger ?! Empty_bar_bleue  (90/100)

http://www.rotd.forumotion.net

Back to top Go down

Goldmines Trigger ?! Empty Re: Goldmines Trigger ?!

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum