| 11-28-2004, 11:58 AM | #1 |
Is there a way to have ALL units of 1 type hold something without editing the model? EX: If you train a peon they will have helmets. |
| 11-28-2004, 01:14 PM | #2 |
Guest | You could do a simple trigger, like: Unit is trained > Unit is Peon is True > Attach (Attachment) That should do it |
| 11-28-2004, 02:13 PM | #3 |
Could you tell it step by step becouse I can't find some things... |
| 11-28-2004, 02:35 PM | #4 |
Guest | Um, i'll try. I do so assuming the attachment is a special effect(and not a model), correct me if i am wrong. Step 1: Create a new trigger. Label it something like 'AttachPeon' Step 2: Create an event in this trigger. Step 3: Use: Event\Unit\Generic unit event. Step 4: Set the second variable to 'Finishes Training A Unit' Step 5: Press OK and create a condition. Step 6: Use: Condition\Unit-Type Comparison. Step 7: Set the first variable to 'Unit-Type of Trained Unit' . Step 8: Set the second variable to 'Peon' or whatever unit you are using. Step 9: Press OK and create an action. Step 10: Use: Action\Special effect\Create special effect on unit. Step 11: Set the first variable to 'Hand', or whatever you are attaching it to, and the second to 'Trained Unit'. Step 12: Lastly, set the third variable to whatever you want to attach to the unit. Done, an easy 12 step guide to how to attach. I hope that works. |
| 11-28-2004, 02:46 PM | #5 |
Thanks that worked. |
| 11-28-2004, 02:48 PM | #6 |
Guest | No problem, glad it worked. *cough*rep*cough* |
| 11-29-2004, 02:39 AM | #7 |
Screw, for something like that you should be using the slow aura method. The slow aura (tornado) spell has no icon, edit it to have no effect and stick your attachement in the art target art field then give the peons that ability. They'll all have it when created. |
