Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Making multiple entities vanish at once?

Author
Message
Ekipshi
15
Years of Service
User Offline
Joined: 20th May 2009
Location:
Posted: 6th Sep 2009 01:58
I've made a script that deletes a number of entities with the same name as the timer goes along. An example of what I mean would be:
4 Objects named F1 are targeted by the script, and when the timer surpasses 10 seconds, all 4 dissapear because they all use the same name. 20 seconds and all the entities named F2 dissapear.
Well, for some reason, only one out of the group dissapears each time the timer hits one of the points instead of all of them



Any ideas?

Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 6th Sep 2009 06:03
Quote: "Any ideas?"

Yeah, give them unique names instead of naming them the same.
You will have a lot more states to step through but it should work.



Ekipshi
15
Years of Service
User Offline
Joined: 20th May 2009
Location:
Posted: 6th Sep 2009 07:46
So it won't work if there the same? Darn.
Ah well, thanks for letting me know though CE

-All the Best!

Login to post a reply

Server time is: 2024-11-25 06:47:02
Your offset time is: 2024-11-25 06:47:02