| 01-03-2008, 05:55 AM | #1 |
This is my first post, and hopefully not my last as I'm interested creating maps. I'm starting out very small, just trying to screw around with things to find out how they work. Im having a problem with changing the ownership of a unit. The unit belongs to Player 12 (brown) (on a 2-player map with no brown). here's the trigger (auradin is the custom unit): Event: Unit- A unit comes with 200.00 of Auradin 005 <gen> Conditions: none Actions: Chnage ownership of Auradin 005 <gen>to (Triggering player) and Change color Really, really simple, right? but it doesn't work. I've tried creating a region and using that, and also having the unit belong to neutral passive as well as player 2 (blue). I'm sorry for such a newbie question, but i gotta start somewhere, right? If you need more info I can put up a screenshot. |
| 01-03-2008, 12:12 PM | #2 |
What exactly does not work? Please use "copy as text" to paste the trigger. |
| 01-03-2008, 12:16 PM | #3 |
| 01-03-2008, 12:47 PM | #4 |
If that was the problem then his trigger should still be able to convert the unit to player 1. |
| 01-03-2008, 02:34 PM | #5 |
triggering unit is unit who come in range, it changeto same owner. |
| 01-03-2008, 04:58 PM | #6 |
Trigger: Trigger:
![]() Untitled Trigger 001
![]() Events
![]() Unit - A unit comes within 256.00 of <YourUnit>
![]() Conditions
![]() Actions
![]() Unit - Change ownership of <YourUnit> to (Owner of (Triggering unit)) and Change colorThat did the trick. Now here's another one...my text isn't dissapearing: Trigger: ![]() Events
![]() Time - Every 30.00 seconds of game time
![]() Conditions
![]() Actions
![]() Floating Text - Create floating text that reads A random item has a... at (Player 1 (Red) start location) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
![]() Floating Text - Change (Last created floating text): Disable permanence
![]() Floating Text - Change the age of (Last created floating text) to 30.00 seconds |
| 01-03-2008, 05:41 PM | #7 |
Instead of changing the age, there should be an "Expiration" or expiration timer function for floating text or something. |
