I'd like to make a script that applies to every NPC in the level, without having to add scripts=mynpcscriptname to the .txt file of every enemy I use in the level - which would be kinda boring. Is there a way to do this?
Thanks in advance!
I'd like to make a script that applies to every NPC in the level, without having to add scripts=mynpcscriptname to the .txt file of every enemy I use in the level - which would be kinda boring. Is there a way to do this?
Thanks in advance!
Last edited by Super Mario Player on 19 Aug 2016, 17:22, edited 1 time in total.
| ||
| ||
|
Here is a somewhat inefficient solution that may cause the frame rate to drop if your script is complex or too many NPCs are on the screen.
(executed when the level starts, needs a variable to work) Code: Select all Do | ||
| ||
Who is online (over the past 5 minutes)Users browsing this forum: 1 guest | ||