I'm actually not sure how I should have asked this. Simple in theory, but I don't quite get plugin making, so here it goes:
I would like to be able to make a call that changes a variable. Not a game variable, but one in a 'plugin.' I would like to change it so that if that variable is a particular thing, then when it would run this particular function...
Sprite_Actor.prototype.setActorHome = function(index)
it would instead run an identical one with some alterations.
closer to specifics: when an event happens, the entire party changes to (essentially) an inanimate object with multiple parts placed specifically. so, i'd want it to be running my copy of setActorHome instead of the game's when i have it set to "external" for instance.
so i'm not sure how to separate my copy from the original until i set a variable to something, or it's not that something. help x.x
I would like to be able to make a call that changes a variable. Not a game variable, but one in a 'plugin.' I would like to change it so that if that variable is a particular thing, then when it would run this particular function...
Sprite_Actor.prototype.setActorHome = function(index)
it would instead run an identical one with some alterations.
closer to specifics: when an event happens, the entire party changes to (essentially) an inanimate object with multiple parts placed specifically. so, i'd want it to be running my copy of setActorHome instead of the game's when i have it set to "external" for instance.
so i'm not sure how to separate my copy from the original until i set a variable to something, or it's not that something. help x.x