Remove Models/Shapes
Post #1 TheKeyToKilling Oct 25 2011, 8:57 am
Post #3 TheKeyToKilling Oct 25 2011, 9:58 am
|
I have triggers such as this... Actor - Create actor model ShapeGrape (Unnamed) at point Obs 1 End
Is there a way to kill or remove those without attaching them to units? I have 32 of them and really don't feel like attaching 32 models to units and remaking the triggers for it then. Would be quite a bit of work... trying to avoid doing it the long way if possible. ![]() ![]() ![]() ![]() ![]() ![]() i own THE KEY TO KILLING each and every single one of you! muhahahahahahahahahahahahahahahahahahahahahahahaha! When is somebody going to make a Starcraft 2 Picture Mapper? |
Post #5
NicholasBeige
Oct 25 2011, 12:11 pm
|
Create an array variable of type 'Actor' with a size of 31. *Arrays start at 0, so 0 to 31 = 32.
As you create each model at a point add it to this array variable. Then you create a loop which runs through 0 to 31 and removes each 'Actor' stored in this variable. If you need it more spelt out than this I suggest you read up on triggering tutorials at the wiki. ![]() ![]() ![]() ![]() ![]() ![]() Gone.
|
Post #6 TheKeyToKilling Oct 26 2011, 2:00 am
|
Hmmm that sounds like a feasable possibility... I'll hafta test it... I shall get back to you on that one Well that's a possible way to add them to a variable for removal... but I don't think it's possible to remove or kill an actor model with a trigger. I'm just attaching the models to units now like I wanted to avoid :-/. This post was edited 1 time, last edit by TheKeyToKilling: Oct 26 2011, 9:44 am. ![]() ![]() ![]() ![]() ![]() ![]() i own THE KEY TO KILLING each and every single one of you! muhahahahahahahahahahahahahahahahahahahahahahahaha! When is somebody going to make a Starcraft 2 Picture Mapper? |
0 members in this topic (italic members are currently writing a reply): None
+ guest(s)
+ guest(s)
[12:43 am]
[12:19 am]
[12:19 am]
[12:19 am]
[12:19 am]
[12:14 am]
[12:06 am]





![[close]](/images/up.gif)