PlayMaker Feedback > Action Requests

Using Variables in Destroy Objects Action[SOLVED]

<< < (2/2)

jeanfabre:
Hi,

 ok, no problem, At least you know how it should be done. another way is to use a loop using arraygetnext and destroy each go isnide the array one after the other, it will work very well too.

 Bye,

 Jean

 Bye,

 Jean

djaydino:
Hi.
I made an action for you.

Search for 'destroy object multi' on the Ecosystem

But i also do think its better/easier to use an array, as it is more flexible to use.

Arrays are like a list of variables (objects/ints/floats/materials/...) and very useful in many cases.

Here is a tutorial video about arrays :

//www.youtube.com/watch?v=yOZK8yr3IKo

Farwest:
Thanks jeanfabre, I already do loop there, but I don't want to complicate the things with additional actions and additional loops, because I handle dozens or hundreds of unit management in that FSM already, that's why I needed a tidier Destroy function for "multiple objects as variables" at once.

Thanks djaydino, you made my day! What you prepared was what I was looking for, thanks a lot and be blessed!

Navigation

[0] Message Index

[*] Previous page

Go to full version