I created a new game recently. I copied the Blizz ABS script from my previous game.
Now when I tried to create a new monster event, the new game calls to old game monster graphic files by name. For example,
Graphics/Characters/octopi_pc
But when I press CONTROL+F to search the script for the location of "octopi_pc" or "octopi" or "oct" or any variation of my old monster file name, the program does not return any instances in my script. It is as if it is pulling this information from thin air.
I remember doing something to load graphics into the game, besides creating a graphics file in the character folder. But I do not recall what it is that I did to do that, except that there is a lot of automatic code generation involved in Blizz ABS, which is actually making it harder to figure out what the line of code is, that is calling out to phantom graphic files.
If I copy paste an event from the old game, such as a spidercrab, even though it is only loaded as "/e[3]" or whatever, somehow, my new game with the copy pasted script knows it is a spidercrab graphics file. I want to know why it knows to look for an octopi or spidercrab or whatever monster I imported, since I must be directing it to a file somewhere where it knows them by name.
It's being called from the event you are copying and pasting. When you copy an event from one game and paste it into another, all of that event's data is copied, including the graphic filename that doesn't exist in your project. Even though it says "None" when you look at the graphic it's using, the event is still saved as "octopi_pc" in the variable character_name.
It has nothing to do with Blizz ABS or any scripts.
Quote from: KK20 on November 20, 2012, 08:36:02 pm
It's being called from the event you are copying and pasting. When you copy an event from one game and paste it into another, all of that event's data is copied, including the graphic filename that doesn't exist in your project. Even though it says "None" when you look at the graphic it's using, the event is still saved as "octopi_pc" in the variable character_name.
It has nothing to do with Blizz ABS or any scripts.
ahh! so it is copypasting information from the event image area.
any idea how i can install attack and action animations for my character? In the previous game, I created an event that checked if you had a weapon, and then depending on which direction you were facing it played one of four animations. it was semi glitchy but worked reliably. I would have preferred referencing a single 128x192 character graphic though.
It should all be there in the User Manual.
5.1. Sprite Reference