Staredit Network > Forums > SC2 Assistance > Topic: Remove Models/Shapes
Remove Models/Shapes
Oct 25 2011, 8:57 am
By: TheKeyToKilling  

Oct 25 2011, 8:57 am TheKeyToKilling Post #1



I have some models and shapes that get placed at specific points at the start of the game. I then create them at different spots later in the game and need to remove the old copy. How would I go about removing previously placed models and shapes?



None.

Oct 25 2011, 9:47 am DevliN Post #2

Woah

Attach the models to units and kill/remove the units.



:devlin: Currently Working On: :devlin:
Myself

Oct 25 2011, 9:58 am TheKeyToKilling Post #3



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.



None.

Oct 25 2011, 10:23 am Ahli Post #4

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

There should be some actions in the "actor" trigger group.




Oct 25 2011, 12:11 pm NicholasBeige Post #5



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.



None.

Oct 26 2011, 2:00 am TheKeyToKilling Post #6



Quote from name:Cardinal
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.

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 :-/.

Post has been edited 1 time(s), last time on Oct 26 2011, 9:44 am by TheKeyToKilling.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:37 am]
Ultraviolet -- 80% of statistics are made up on the spot
[08:05 pm]
Symmetry -- 50% of strings in starcraft are references
[2026-6-07. : 1:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
Please log in to shout.


Members Online: jun3hong, DarkenedFantasies