Hello WowAce

You must log in or register to change your theme.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
//You know you love it
// No Project Column icons, no rounded corners

// fonts
!base_font_size = 12px
!base_line_height = 1.0

!normal_fonts = "Verdana","arial","sans-serif"
!title_fonts = !normal_fonts
!navigation_fonts = !normal_fonts

// colors

!body_background_start_color = #FFFFFF
!body_background_finish_color = add_luminosity(#FF82AB, 10%)

!normal_text_color = #000000
!header_background_color = !body_background_finish_color
!main_background_color = #FFFFFF
!footer_background_color = #000000

!standard_module_background_finish_color = #FFB5C5	
!standard_module_background_inner_finish_color = add_luminosity(#FFFFFF , 80%)

!heading_color = !normal_text_color

!link_color = #4B0082
!visited_link_color = increase_hue(!link_color, -30deg)
!active_link_color = set_hue(!link_color, 50deg)

!heading_link_color = !link_color
!heading_visited_link_color = !heading_link_color
!heading_active_link_color = !heading_link_color

!input_gradient_size = 500px
!input_background = add_luminosity(#FF82AB, 15%)
!input_focus_background = #FFFFFF

!avatar_border_color = #000000
!username_normal_color = #000000
!avatar_normal_background = #ffffff
!username_author_color = #007f00
!avatar_author_background = #007f00
!username_moderator_color = #00007f
!avatar_moderator_background = #00007f
!username_anonymous_color = #7f7f7f
!avatar_anonymous_background = #7f7f7f

!standard_gradient_color_difference_outset = 15%
!standard_gradient_color_difference_inset = -15%

!action_button_color = !normal_text_color
!action_button_background_finish_color = #6699cc
!action_button_hover_background_finish_color = !action_button_background_finish_color + #222

// tab

!tab_normal_color = #292421
!tab_normal_text_color = #FFFFFF
!tab_hover_color = #FFFFFF
!tab_hover_text_color = #000000

!tab_shine_color = #fff
!tab_shine_amount = 15%

!tab_disabled_shine_color = !tab_shine_color - #333
!tab_disabled_color = !tab_normal_color - #111
!tab_disabled_text_color = !tab_normal_text_color

!poll_bar_author_start_color = #ccf
!poll_bar_author_finish_color = add_luminosity(!poll_bar_author_start_color, -20%)
!poll_bar_user_start_color = #cfc
!poll_bar_user_finish_color = add_luminosity(!poll_bar_user_start_color, -20%)

!global_navigation_link_shine_amount = 20%
!global_navigation_link_shine_color = add_luminosity(!body_background_finish_color, !global_navigation_link_shine_amount)


!listing_selected_th_finish_color = #FF82AB
!listing_selected_th_start_color = add_luminosity(!listing_selected_th_finish_color, !tab_shine_amount)

!listing_hover_th_finish_color = #FFFFFF
!listing_hover_th_start_color = add_luminosity(!listing_hover_th_finish_color, !tab_shine_amount)

!listing_hover_tr_finish_color = #FFFFFF
!listing_hover_tr_start_color = add_luminosity(!listing_hover_tr_finish_color, !tab_shine_amount)

!ins_color = #070
!del_color = #700

// various other stuff

!body_background_gradient_size = 10px
!body_background_attachment = "scroll"

!standard_block_padding = 10px
!single_space_size = 5px

!page_width = 1000px

!site_logo_height = 40px
!site_logo_width = 200px

// if true, that means it's dark on light, otherwise light on dark.
!light_color_scheme = luminosity(!normal_text_color) < luminosity(!standard_module_background_finish_color)

!standard_gradient_size = 200px
!standard_gradient_direction = "down"
!header_background_start_color = !header_background_color
!header_background_gradient_size = !standard_gradient_size + !site_logo_height
!header_background_gradient_direction = !standard_gradient_direction

!footer_background_start_color = !footer_background_color
!footer_background_gradient_size = !standard_gradient_size
!footer_background_gradient_direction = opposite_direction(!standard_gradient_direction)

!main_background_start_color = add_luminosity(!main_background_color, !standard_gradient_color_difference_outset)
!main_background_gradient_size = !standard_gradient_size
!main_background_gradient_direction = !standard_gradient_direction

!standard_module_background_start_color = add_luminosity(!standard_module_background_finish_color, !standard_gradient_color_difference_outset)
!standard_module_background_gradient_size = !standard_gradient_size
!standard_module_background_gradient_direction = !standard_gradient_direction

!standard_module_background_inner_start_color = add_luminosity(!standard_module_background_inner_finish_color, -!standard_gradient_color_difference_outset)
!standard_module_background_inner_gradient_size = !standard_gradient_size
!standard_module_background_inner_gradient_direction = !standard_gradient_direction


!standard_module_border_size = 1px

// headings
!heading_padding = !standard_block_padding
!h1_size = fontpc(24px)
!h2_size = fontpc(20px)
!h3_size = fontpc(17px)
!h4_size = fontpc(15px)
!h5_size = fontpc(14px)
!h6_size = fontpc(14px)

// elements
!paragraph_padding = !standard_block_padding 0 !standard_block_padding 0

!pre_margin = 10px

!halfway_color = merge_colors(!normal_text_color, !standard_module_background_start_color)

!date_info_color = !halfway_color
!date_info_size = fontpc(12px)

// horizontal rule
!hr_color = !normal_text_color
!hr_border = "outset" !hr_color
!hr_size = 1px
!hr_margin_size_side = 20px
!hr_margin_size_top = 10px
!hr_margin_size_bottom = 0px

// lists
!list_padding_left = !standard_block_padding + 30px
!list_padding_right = !standard_block_padding
!list_padding_top = !standard_block_padding
!list_padding_bottom = !standard_block_padding

// ul.navigation-horizontal
!list_navigation_horizontal_color = !halfway_color

// definition lists
!dl_padding = !standard_block_padding
!dd_left_padding = 40px

// tables
!caption_font_size = fontpc(16px)

!th_font_size = fontpc(14px)
!th_padding = 10px 0
!td_font_size = fontpc(13px)
!td_padding = 5px 5px

!thead_border_bottom = 2px "solid" !normal_text_color
!tfoot_border_top = !thead_border_bottom
!td_th_border_bottom = 1px "solid" !halfway_color

// forms
!form_field_margin_left = 40px

!legend_font_size = fontpc(20px)
!error_color = red
!description_font_size = fontpc(11px)

!input_color = !normal_text_color

!form_label_width = 150px

!textarea_height = 200px

!multifield_label_width = 220px

// users
!avatar_size = 48px
!profile_avatar_size = 300px
!avatar_border_size = 0px
!avatar_padding = 2px
!username_font_size = fontpc(18px)

!show_user_background = true

// comments
!comment_avatar_spacing = 5px

!rounded_corners = false

// icons

!inline_icon_size = !base_font_size
!tiny_icon_size = 16px
!small_icon_size = 22px
!medium_icon_size = 32px
!expanding_link_button_size = !tiny_icon_size
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.global-navigation
   :margin-top 10px
.global-navigation-links
   :font-weight bold
   :font-size 11px
.col-project a
   :font-size 12px
   :font-weight bold
.col-icon
   :display none
.col-project
   :font-size 100%
   :font-weight bold
.create-link-before-filter
   :padding-bottom 4px
   :font-weight bold
   :font-size 11px
.user-actions
   :color #000000


// Site menu and Front Page Tabs

.selected
   :font-size 12px
   :font-weight bold

.tabs
   :font-size 12px
   :font-weight bold

.box-header a
   :font-weight bold
   :color #FFFFFF

// Category list hacks

.col-category ul li a
   :background none !important
   :display inherit
   :border none !important
.category:after
   :content ", "
.category
   :background none !important
   :margin 0
   :display inline
   :height auto 
   :width auto !important
   :vertical-align auto 
   :display block 
   :overflow auto 
   :padding-top 0 !important
   :border none
.category li
   :display inline
   :list-style none
.category li:after
   :content ", "
.category li:last-child:after
   :content ""

/logo
.site-logo a
   :background url(http://static.wowace.com/content/attachments/0/858/HelloWowAce2.png) !important
   //:visibility hidden
  • HelloWowAce2.png

Facts

Created
Jun 21, 2009
Updated
Apr 01, 2011

Authors

Platea aliquet volutpat nascetur sollicitudin magna, per in fringilla cubilia aenean lectus placerat, fusce praesent convallis phasellus, facilisis semper. Sem class penatibus sapien, ad curae duis venenatis, purus dignissim vehicula placerat tempus aptent feugiat, egestas hymenaeos accumsan condimentum, bibendum a netus. Ac hymenaeos dictumst laoreet at hendrerit, integer hac nec tortor, leo metus.

Polls preview

What feature do you want to see in v1.2?

  •  4.8% - Default Mob Configurations - 1
  •  4.8% - Mob Scaling Options - 1
  •   19.1% - Randomized Mobs (Diablo-style) - 4
  •   28.6% - Skill System Rewrite + More Skills - 6
  •  4.8% - More Custom AI Options - 1
  •  4.8% - More Item Options - 1
  •  0.0% - Target Conditions - 0
  •  23.8% - Citizens / Denizen Support - 5
  •  4.8% - Write a new item plugin instead! - 1
  •  4.8% - Something not listed here... - 1

What feature do you want to see in v1.2?

  1. Choice:

Which features should come next ?

  •  27.3% - More Variables - 3
  •   45.5% - More possibilities to change the TabList - 5
  •   54.5% - A Bungeecord version - 6
  •  27.3% - More Commands - 3
  •  18.2% - other - 2

Which features should come next ?

  1. Choices:

What's the most important thing to do?

  •  2.842 - Multiple arenas - 19
  •  4.091 - Bug fixes - 22
  •  1.500 - Complete the wiki/German wiki - 18
  •  3.842 - Dealers - 19
  •  3.105 - Skills (Any ideas?) - 19
  •  4.095 - Jailing - 21
  •  2.643 - MySQL Data storage - 14
  •  3.000 - Other things (Please write a comment) - 10
  •  3.000 - Usable API and documentation/examples - 1

What's the most important thing to do?

  1. Multiple arenas:

  2. Bug fixes:

  3. Complete the wiki/German wiki:

  4. Dealers:

  5. Skills (Any ideas?):

  6. Jailing:

  7. MySQL Data storage:

  8. Other things (Please write a comment):

  9. Usable API and documentation/examples:

Tables preview

Standard table, no row groups defined

Column 1 Column 2
Column 3 Column 4

Table with just a tbody

Column 1 Column 2 Column 3
Column 4 Column 5 Column 6

Table with a thead and tbody

Header 1 Header 2 Header 3
Column 1 Column 2 Column 3
Column 4 Column 5 Column 6

Table with a thead, tfoot, and tbody

Header 1 Header 2 Header 3
Footer 1 Footer 2 Footer 3
Column 1 Column 2 Column 3
Column 4 Column 5 Column 6

Table with a caption, thead, tfoot, and tbody

This is the caption for the table
Header 1 Header 2 Header 3
Footer 1 Footer 2 Footer 3
Column 1 Column 2 Column 3
Column 4 Column 5 Column 6

Test table with merged cells

A test table with merged cells
Average Red
eyes
heightweight
Males1.90.00340%
Females1.70.00243%

Empty cell

Column 1 Column 2
Column 4

Listing preview

AlphaBravoCharlieDelta
AlphaBravoCharlieDelta
0 Oct 24, 2014

Ornare eros facilisis eget curabitur, auctor tristique aliquet praesent ullamcorper, egestas platea primis ut egestas tellus, fermentum aptent erat sem. Purus adipiscing laoreet proin, semper elementum phasellus lectus quisque pharetra, aptent amet euismod eros consequat iaculis, hac tortor condimentum aliquam. Vehicula magna phasellus curabitur, accumsan eleifend torquent diam.

Vivamus magnis mus eros.

1 Oct 24, 2014

Eu torquent lacinia viverra rutrum donec eget in, odio dis diam lorem, vulputate nec magnis suspendisse libero eleifend, nibh est. Nascetur fusce orci nonummy ornare eu interdum a, ipsum felis sollicitudin pharetra at, amet nibh. Sodales quis morbi torquent pharetra at.

Sem pellentesque ultricies hac facilisi.

2 Oct 24, 2014

Purus nibh netus suspendisse mi, dapibus morbi quisque interdum orci cum commodo, integer blandit faucibus aenean platea ante litora,. Dictumst lectus aenean at mattis, quis dis sociis ut nascetur id, aptent nostra egestas vitae est nascetur, sed iaculis massa ac, vivamus.

Lacinia dictum mollis.

3 Oct 24, 2014

Dictum ultricies nisi semper purus, taciti quis quisque nascetur, mauris posuere netus nec cubilia dis, egestas posuere proin sociis, vitae sociosqu dolor condimentum. Torquent sed habitasse quisque laoreet amet cursus, varius nam sagittis penatibus arcu, dictumst ut.

Blandit dictum.

4 Oct 24, 2014

Odio faucibus maecenas quis dolor, consectetuer sodales platea integer ultrices mus, ullamcorper eget consequat eleifend porta tellus, neque diam tortor pulvinar. Nonummy nunc est laoreet et, dapibus sem aenean dictum dignissim, magnis sollicitudin facilisis elit etiam nam nunc, ligula dictum consequat ridiculus urna, nisl.

Cras etiam arcu luctus.

5 Oct 24, 2014

Facilisi proin elementum vulputate placerat pretium, integer malesuada mollis parturient, conubia mus vitae suscipit a blandit enim, accumsan magnis nullam dapibus justo est, eros. Elit curabitur nostra integer, mus fringilla platea porta.

Ridiculus ornare facilisis dignissim.

6 Oct 24, 2014

Eu tincidunt varius eros mattis id, rhoncus duis fusce hendrerit amet quam, tincidunt commodo class cursus cubilia erat mauris, hendrerit cursus posuere consequat ultricies. Curae potenti et nunc nisl dignissim at, malesuada habitasse netus cras ad, nulla facilisis ante turpis. Felis sit nisi.

Iaculis diam.

7 Oct 24, 2014

Lacinia tempus eget dui fermentum netus mi elementum, dictumst dis commodo dui habitant adipiscing, quisque potenti taciti inceptos curae. Feugiat amet tristique pharetra, gravida adipiscing montes consequat auctor parturient, a accumsan platea class orci augue, mauris. Vivamus aliquam.

Potenti velit sollicitudin pellentesque.

8 Oct 24, 2014

Primis velit fringilla dictum velit convallis cum, ornare primis parturient fames justo donec, inceptos ut quis. Tempus vulputate curae dictumst pretium interdum, faucibus commodo dis dictumst dui id, aliquet scelerisque cursus. Bibendum scelerisque varius curae euismod lectus, laoreet mi sodales fringilla, proin vitae aliquet pede.

Eros natoque.

9 Oct 24, 2014

Ac habitant platea laoreet scelerisque id nascetur aliquet, turpis quis rhoncus nostra, quisque urna eleifend justo non nam ligula, iaculis scelerisque vel varius. Luctus mi ut cum lacus, aliquet felis quam curae montes, est cum quisque per id, cubilia odio parturient rutrum posuere,. Sodales sem imperdiet eu.

A ridiculus nam.

10 Oct 24, 2014

Taciti urna justo molestie placerat porta platea, arcu libero platea taciti, scelerisque feugiat sodales vivamus velit, taciti rhoncus integer turpis, penatibus sollicitudin. Neque mi commodo vehicula arcu, nulla.

Morbi volutpat etiam.

11 Oct 24, 2014

Dui dapibus lacinia congue nostra natoque suspendisse, est velit porta laoreet, neque elit sollicitudin semper nibh dui. Cubilia urna porttitor parturient convallis semper, sociosqu faucibus amet rhoncus, sem senectus non donec, risus commodo dui amet, enim.

Egestas sagittis elementum integer.

12 Oct 24, 2014

Tempus placerat conubia tempus habitant lectus interdum, urna felis lorem at dignissim orci, mollis consectetuer vehicula molestie quisque consequat, non tellus. Platea tortor amet sem risus, cursus congue fringilla sapien euismod sapien, faucibus urna inceptos ut, aenean risus vitae pellentesque, ad.

Dolor ridiculus suscipit dignissim eros.

13 Oct 24, 2014

Pulvinar cras vulputate hymenaeos id convallis magna, nonummy consectetuer netus lectus natoque elementum, vitae senectus est quis. Semper tellus scelerisque egestas elit mollis, urna gravida nec.

Torquent dapibus.

14 Oct 24, 2014

Egestas curae nascetur taciti viverra montes, parturient orci ligula arcu scelerisque libero, tristique semper varius ipsum. Sagittis rutrum at auctor massa consequat, habitasse nisi non duis, inceptos.

Tempus nascetur odio nibh.

15 Oct 24, 2014

Bibendum dictum imperdiet justo pellentesque nunc hendrerit nonummy, cum etiam dis nisi hymenaeos, pharetra volutpat molestie. Amet orci donec ad nam, faucibus varius suscipit volutpat, faucibus volutpat dolor elementum, cum aenean vivamus quam. Cubilia non diam mi, habitant augue ut porttitor bibendum molestie.

Quisque est nisi.

16 Oct 24, 2014

Quisque purus lacinia et orci ultricies, mus bibendum aliquam placerat eu leo, penatibus duis class interdum, donec augue mattis habitasse, convallis nulla. Inceptos magna a metus nisi non taciti, sem leo elit quisque, ligula.

Varius nunc nam scelerisque.

17 Oct 24, 2014

Parturient varius erat cras duis conubia dis dapibus, sodales urna habitasse nibh pretium pharetra purus laoreet, urna convallis natoque. Ligula pretium lorem pulvinar tortor, cursus imperdiet aptent accumsan eget dictumst.

Magnis sociis proin vestibulum.

18 Oct 24, 2014

Nostra tempor sollicitudin egestas pellentesque lacus, porta sit ligula ultrices pulvinar convallis ac metus, neque massa eros nibh aliquam, senectus libero.

Hymenaeos viverra.

19 Oct 24, 2014

Cursus in nulla elementum luctus fames augue, dapibus lorem porta lectus nisl cubilia sociis, litora sit. Fermentum tempor eget taciti duis pede, feugiat ad nonummy pharetra, dolor conubia accumsan nascetur, posuere quam class elementum imperdiet, nec vivamus primis. Porta parturient suscipit inceptos arcu, mollis vitae.

Velit dictum.

Comment preview

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of scottparker943 scottparker943 Oct 18, 2014 at 14:04 UTC - 0 likes

    Hi, I have Parkour setup as a separate minigame AND as parkour maps for when players are waiting for another minigame to start (eg. Walls or skywars or hungergames). But when players are doing the parkour and the game starts it says that they are not allowed to teleport into another world

    So, Can I set it so it doesn't disable teleporting to another world? and I also probably need parkour to disable once they go into a separate world too!

    Great plugin btw!

    Last edited Oct 19, 2014 by scottparker943
  • Avatar of xion87 xion87 Oct 14, 2014 at 19:45 UTC - 0 likes

    i setted also parkour into brigre the dropper map... but at first fall player continue to die because plugin think that they are falling in the void... why?

  • Avatar of xion87 xion87 Oct 14, 2014 at 19:45 UTC - 0 likes

    - double message sorry -

    Last edited Oct 15, 2014 by xion87
  • Avatar of B3stcraft B3stcraft Oct 13, 2014 at 20:17 UTC - 0 likes

    Hi, is this plugin going to be ported to SpongePowered? Thanks ;D

  • Avatar of mcsorley mcsorley Oct 11, 2014 at 18:49 UTC - 0 likes

    When i tried to join a parkour /pa join parkour1 Same error : An internal error occurred while attempting to perform this command."

    I d'ont know why i tried whit only this plugin Im on spigot 1.7.10 Using Version 3.2

    Edit: Working now dont know why, i deleted the folder and tried againt and i managed to get it work !

    Last edited Oct 12, 2014 by mcsorley
  • Avatar of xion87 xion87 Oct 08, 2014 at 07:28 UTC - 0 likes

    @A5H73Y: Go thank you for the reply, i just maked a command as example, but i would like to execute custom command, not only money reward, i am using a token system on my server :)

  • Avatar of A5H73Y A5H73Y Oct 07, 2014 at 09:24 UTC - 0 likes

    @xion87: Go

    That's very strange, pretty sure that isn't the case for my server but I will look into it.

    How to link to Economy

    BFAK:A5H73Y,90597204,65f9a3806fffa7ee07b0757cf891921cd6b4528053669466eed83a7dcb11f8bc My Plugins: Parkour | NoSwear | SimpleTime | Carz | EasyWelcome | Planez

  • Avatar of xion87 xion87 Oct 05, 2014 at 09:26 UTC - 0 likes

    i noticed a bug... player that die in lava get fire ticks at respawn.... and i would like that you add command reward like /give <winner> money 599595

  • Avatar of ferolt ferolt Sep 30, 2014 at 09:40 UTC - 0 likes

    @A5H73Y: Go

    Oh my god, i'm such a looser, i was OP. I was exempted from commands blocking... its all working, sorry for this. Its awesome pluginn, by the way, thanks for answer. :)

  • Avatar of A5H73Y A5H73Y Sep 30, 2014 at 08:03 UTC - 0 likes

    @ferolt: Go

    Setting it to true and typing "/pa reload" should start the command blocker.

    However if there is a conflicting plugin which is preventing Parkour from doing its thing then it will not work.

Forum thread preview

  • 1 comment
    #1 Oct 24, 2014 at 11:07 UTC - 0 likes

    Ive no idea, hope some one can help me: Ive some units TYPE A on one regionA and i want create exactly units of TYPE B in the exact poisition of TYPE A but with delay of x

    example:

    marine TYPE A, build it on region 1 After x second... building marine TYPE B, build it on regon 2 (identic of region 1 by size, bit over it on Xpos). TYPE B must are in the same position of TYPE A but on REGION 2

    ive build all script about this, but i dont know how to organizze typeB by have same formation of TYPEA

    //--------------------------------------------------------------------------------------------------
    // Trigger: move on region sud
    //--------------------------------------------------------------------------------------------------
    bool gt_spostaleunitC3A0inarenasud_Func (bool testConds, bool runActions) {
        // Conditions
        if (testConds) {
            if (!(((UnitGetOwner(EventUnit()) == 1) || (UnitGetOwner(EventUnit()) == 2) || (UnitGetOwner(EventUnit()) == 3)))) {
                return false;
            }
        }
    
        // Actions
        if (!runActions) {
            return true;
        }
    
        UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(3))), c_orderQueueAddToEnd);
        return true;
    }
    
    //--------------------------------------------------------------------------------------------------
    void gt_spostaleunitC3A0inarenasud_Init () {
        gt_spostaleunitC3A0inarenasud = TriggerCreate("gt_spostaleunitC3A0inarenasud_Func");
        TriggerAddEventUnitRegion(gt_spostaleunitC3A0inarenasud, null, RegionFromId(1), true);
    }
    
    //--------------------------------------------------------------------------------------------------
    // Trigger: move on region nord
    //--------------------------------------------------------------------------------------------------
    bool gt_spostaleunitC3A0inarenanord_Func (bool testConds, bool runActions) {
        // Conditions
        if (testConds) {
            if (!(((UnitGetOwner(EventUnit()) == 4) || (UnitGetOwner(EventUnit()) == 5) || (UnitGetOwner(EventUnit()) == 6)))) {
                return false;
            }
        }
    
        // Actions
        if (!runActions) {
            return true;
        }
    
        UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(2))), c_orderQueueAddToEnd);
        return true;
    }
    
    //--------------------------------------------------------------------------------------------------
    void gt_spostaleunitC3A0inarenanord_Init () {
        gt_spostaleunitC3A0inarenanord = TriggerCreate("gt_spostaleunitC3A0inarenanord_Func");
        TriggerAddEventUnitRegion(gt_spostaleunitC3A0inarenanord, null, RegionFromId(2), true);
    }
    
    //--------------------------------------------------------------------------------------------------
    // Trigger: how much Bmarine enter on region 1
    //--------------------------------------------------------------------------------------------------
    bool gt_quantiBmarineentrano1_Func (bool testConds, bool runActions) {
        // Conditions
        if (testConds) {
            if (!((UnitGetType(EventUnit()) == "Bmarine"))) {
                return false;
            }
        }
    
        // Actions
        if (!runActions) {
            return true;
        }
    
        gv_numeroBmarinep1 += 1;
        return true;
    }
    
    //--------------------------------------------------------------------------------------------------
    void gt_quantiBmarineentrano1_Init () {
        gt_quantiBmarineentrano1 = TriggerCreate("gt_quantiBmarineentrano1_Func");
        TriggerAddEventUnitRegion(gt_quantiBmarineentrano1, UnitRefFromUnit(UnitLastCreated()), RegionFromId(3), true);
    }
    
    //--------------------------------------------------------------------------------------------------
    // Trigger: move bmarine on second region
    //--------------------------------------------------------------------------------------------------
    bool gt_spostamentobmarine_Func (bool testConds, bool runActions) {
        // Conditions
        if (testConds) {
            if (!((gv_numeroBmarinep1 != 0))) {
                return false;
            }
        }
    
        // Actions
        if (!runActions) {
            return true;
        }
    
        libNtve_gf_CreateUnitsWithDefaultFacing(gv_numeroBmarinep1, "Marine", 0, 1, PointFromId(4));
        libNtve_gf_MakeUnitUncommandable(UnitLastCreated(), true);
        return true;
    }
    
    //--------------------timer for new wave----------------------------------------------------
    void gt_spostamentobmarine_Init () {
        gt_spostamentobmarine = TriggerCreate("gt_spostamentobmarine_Func");
        TriggerAddEventTimePeriodic(gt_spostamentobmarine, gv_tempodeltimer, c_timeGame);
    }
    
    
    //--------------------------------------------------------------------------------------------------
    // Trigger: test pc enemy 
    //--------------------------------------------------------------------------------------------------
    bool gt_test_Func (bool testConds, bool runActions) {
        // Actions
        if (!runActions) {
            return true;
        }
    
        libNtve_gf_CreateUnitsWithDefaultFacing(2, "Marine", 0, 4, PointFromId(5));
        UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, StringExternal("Param/Value/B58B3249"));
        UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, IntToText(gv_numeroBmarinep1));
        return true;
    }
    
    //--------------------------------------------------------------------------------------------------
    void gt_test_Init () {
        gt_test = TriggerCreate("gt_test_Func");
        TriggerAddEventTimePeriodic(gt_test, gv_tempodeltimer, c_timeGame);
    }
    
    Last edited Oct 24, 2014 by gbau
  • 1 comment