Purchase Lurker (P1)
Events
Unit - Any Unit Enters Buy Lurker (P1)
Local Variables
Conditions
(Owner of (Triggering unit)) == 1
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Player 1 has at least 10 and at least 0) == true
Then
Unit - Move (Triggering unit) instantly to Center of Player 1 (No Blend)
Unit - Create 1 Lurker for player 1 at Complete Transaction (P1) using default facing (No Options)
UI - Display "Lurker has been Purchased!" for (Player group(1)) to Directive area
Player - Modify player 1 Minerals: Subtract 10
General - If (Conditions) then do (Actions) else do (Actions)
If
Show Ability == true
(Evolution Chamber - Research (Evolution Chamber) is Disabled for (Last created unit)) == true
Then
Unit - Show the Evolution Chamber - Research (Evolution Chamber) ability for (Last created unit)
Else
General - Wait 2.5 Real Time seconds
UI - Clear All Messages for (Player group(1))
Unit - Order (Triggering unit) to ( Stop) (Replace Existing Orders)
Else
Unit - Move (Triggering unit) instantly to Complete Transaction (P1) (No Blend)
UI - Display "Transaction Declined!" for (Player group(1)) to Directive area
Unit - Order (Triggering unit) to ( Stop) (Replace Existing Orders)
General - Wait 3.0 Real Time seconds
UI - Clear All Messages for (Player group(1))
Hmm. Got it fixed and tested the Map, but it did the wrong thing. Apparently it just upgraded the Lurker's weapons to Level 1 automatically... Whereas it was supposed to just show the button on the Comman Card.
The research ability is targeted for a specific unit, not on a building. It's basically the upgrade missile weapons on an Evolution Center except it's attached to a unit instead.
0
Purchase Lurker (P1)
Events
Unit - Any Unit Enters Buy Lurker (P1)
Local Variables
Conditions
(Owner of (Triggering unit)) == 1
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Player 1 has at least 10 and at least 0) == true
Then
Unit - Move (Triggering unit) instantly to Center of Player 1 (No Blend)
Unit - Create 1 Lurker for player 1 at Complete Transaction (P1) using default facing (No Options)
UI - Display "Lurker has been Purchased!" for (Player group(1)) to Directive area
Player - Modify player 1 Minerals: Subtract 10
General - If (Conditions) then do (Actions) else do (Actions)
If
Show Ability == true
(Evolution Chamber - Research (Evolution Chamber) is Disabled for (Last created unit)) == true
Then
Unit - Show the Evolution Chamber - Research (Evolution Chamber) ability for (Last created unit)
Else
General - Wait 2.5 Real Time seconds
UI - Clear All Messages for (Player group(1))
Unit - Order (Triggering unit) to ( Stop) (Replace Existing Orders)
Else
Unit - Move (Triggering unit) instantly to Complete Transaction (P1) (No Blend)
UI - Display "Transaction Declined!" for (Player group(1)) to Directive area
Unit - Order (Triggering unit) to ( Stop) (Replace Existing Orders)
General - Wait 3.0 Real Time seconds
UI - Clear All Messages for (Player group(1))
0
@Mesden:
Mmm, so back to square one I guess -_-
0
@Thenarden:
Were you under the correct impression..?
0
@Mesden:
Hmm. Got it fixed and tested the Map, but it did the wrong thing. Apparently it just upgraded the Lurker's weapons to Level 1 automatically... Whereas it was supposed to just show the button on the Comman Card.
0
@Thenarden:
0
@Thenarden:
Hmm I'm not sure what I did.. Evolve Missile Attack Level 1 isn't an option to choose. Just #2 and #3...
0
@Thenarden:
I still have to do something in the Lurker Menu I posted above to make that upgrade show in the Lurker's command card though.
0
Quote from Thenarden:
@Mesden: Go
Sorry, made a mistake. In the Requirement "Research is Enabled" the requirement node must be under "Use" and not under "Show"...
----
Should I do anything with what I changed to show previously?
0
@Thenarden:
Okay. Done that. Now I guess I have to do something with the Triggers
0
@Thenarden:
Err, what goes into the Ability and Ability Command tabs..?
0
@Thenarden:
Add New Requirement isn't selectable.
0
Sure.
Oops, forgot to attach
0
@Thenarden:
When I create an object I see two tabs. One says Upgrade the other says Editor...
0
@Thenarden:
I assume creating the Upgrade would be adding an Object, but I don't see this Requirement thing.
0
@Thenarden:
The research ability is targeted for a specific unit, not on a building. It's basically the upgrade missile weapons on an Evolution Center except it's attached to a unit instead.