battlestar_caprica
Member
Hi there,
This should be fairly straight forward but for some reason I am having problems with it... Essentially I am dealing with the Game_Map class and want something to apply to some events but not others. I also don't want this to apply to the player. The way I want some events to be included/excluded depends on the events name (by default EV001, EV002, etc.)
Events that are excluded would have a name something like "EV001"
Events that are included would have a name something like "EV001#TEST#"
The script would check the events name and look for a #TEST# within the name. Remember this would all have to be done within Game_Map so I believe I would need to add a few new attr_accessor's.
So for example: "if not player or event_name.include?("#TEST#)"
If this can't be done within Game_Map but can be done some other way, or an easier way, I'd like to hear your suggestions as well.
Any help would be appreciated,
Thanks in advance.
EDIT: Maybe it would help if you knew why I am trying to do this. There are several things that I need this script snippet for. One of them being so that Flying Monsters can fly over cliffs while player's and other events cannot (and no I can't use "Always On Top" for the system I am trying to create).
Hopefully that helps. Thanks again.
This should be fairly straight forward but for some reason I am having problems with it... Essentially I am dealing with the Game_Map class and want something to apply to some events but not others. I also don't want this to apply to the player. The way I want some events to be included/excluded depends on the events name (by default EV001, EV002, etc.)
Events that are excluded would have a name something like "EV001"
Events that are included would have a name something like "EV001#TEST#"
The script would check the events name and look for a #TEST# within the name. Remember this would all have to be done within Game_Map so I believe I would need to add a few new attr_accessor's.
So for example: "if not player or event_name.include?("#TEST#)"
If this can't be done within Game_Map but can be done some other way, or an easier way, I'd like to hear your suggestions as well.
Any help would be appreciated,
Thanks in advance.
EDIT: Maybe it would help if you knew why I am trying to do this. There are several things that I need this script snippet for. One of them being so that Flying Monsters can fly over cliffs while player's and other events cannot (and no I can't use "Always On Top" for the system I am trying to create).
Hopefully that helps. Thanks again.