Hi, I was wanting to make a vehicle that can run over pedestrians, specificallty I found this, event location. I specifically want them to get run over if their within 3x3 of the player. The bottom part says it can check for event location. I'm pretty noob here, how would I translate this as a conditional branch?
# X and Y's
# ----------------------------------------------
$game_player.x
$game_player.y
$game_map.events[n].x
$game_map.events[n].y
# n = Event ID
# Check Terrain Tag
# ----------------------------------------------
$game_map.terrain_tag(x, y)
$game_player.terrain_tag
$game_map.events[event_id].terrain_tag
# Check Region ID
# ----------------------------------------------
$game_map.region_id(x, y)
$game_player.region_id == n
$game_map.events[event_id].region_id == n
# Check Map Name and Map ID
# ----------------------------------------------
$game_map.name
$game_map.map_id
# Check if Event is Near Player
# ----------------------------------------------
$game_map.events[n].near_the_player?
# True/False. Distance for detection is 20 squares.
# n = Event ID
Ehrrr... I wanted to know how I can make an animation for an status, like: Your character has the "In flames" status, and it would have an animation with it, a looping fire animation above the character. Sorry for my bad english...
That is not an "event system".
Please start a new thread, and specify if you're talking about something you want only in battle, or only on the map, or both. It should probably go into RGSS3 Script Requests, as you'll likely need a script to do it.
Tab 6 has no conditions. So the engine will NEVER check any of the lower-numbered tabs to see if they should be active. It checks from right to left (highest number to lowest), and stops as soon as it finds one whose conditions are met (which includes any with no conditions).
Also, this is not an event system, nor an advanced one. It is a single event not behaving as you expect. If you have further problems with this, please start a new thread in VX Ace Support, or if you think it's related to the script, in RGSSx Script Support - with links to the script(s).
Noted, I imagined "advanced" could also classify as a system that had a lot of background scripts that played into the system as arguably they do add to the complexity of an event. If you had read my post a bit more thoroughly I did explain that the comment on the pages sets up a condition for that page along with the conditional branch.
In any case I won't pursue the point further. The actual event flow is, I guess, simplistic even if to me the underlying mechanics of it is not. Sorry that I misplaced and thanks for pointing me in the right direction ^-^
Hi! I am new to RPG Maker and although I get most of it and are doing quite well something is confusing me and really annoying me. I am trying to open the game with a cutscene. However I do not want the player to be there so I set player position to another map. But whenever I try to do the cutscene it never works and I have found out my events are only running when the player is on the same map as the event. Is there a way to get past this because I have been trying for ages to no avail.
Yes, the events only run when the player is on the same map. Only a single map (and its events) are loaded at a time. Events on other maps are never in memory.
Look for the Change Transparency command (third page, I think). Also if you want one of these cutscenes to begin the game, look for the Transparency checkbox in the System tab.
Event touch only works when the event moves on the player - you need player touch if you want the teleport to be triggered by the player.
That said, you can also optimize your logic with self-switches and variable conditions:
I assume that "crystal E activated" is one switch for each crystal to prevent the crystal from adding again?
You don't need to use up your general switches for this, that is what self-switches are for - just use self-switch A for every crystal and it will work the same.
In the transfer event, what is your second page?
If that page has no condition, it will take priority over the first and the first one will never be activated
If the player touch doesn't help, that page is where the problem lies.
Ok, so I've been trying to make a farming system, with growth by day and being able to plant whatever you want in whatever plot you want to plant it in. What I have come up with will result in me making 52 variables and 471 switches (52 plots, 22 plants, 3 seasons). I used the scripts and common events in the Rural Farm Tile Pack sample game, and used an event in the sample game as a guide of where to start.
And it works, at least on the small scale, but it should scale well...just need to make sure I don't mess something up...will take a lot of bug testing....anyway: I just want to get a few things out of the way before I start the process of actually making it completely work, don't want to get half way through and realize there was a better way to do something.
1. I noticed when play testing that when you change your equipped item on a plot that you can't used said item until you step off again. As in, you hoe the ground, then you have to step off and back on again to plant seeds, and then step off and on again to water the seeds. Could lead to annoyance for players and I'm hoping there is a way to chage that behavior that I'm not seeing.
2. I'm using a lot of parallel processes and I have heard that can lead to performance issues (which is logical) and I'm wondering if there was a way to make some of these parallel process....not. I'm not hopeful about that, but maybe I'm overlooking something with my lack of experience.
3. Am I missing something obvious that would make this easier to make?
The basic layout of the event, I think it will end up having 93 pages when all is said and done, and will be on the map, modified with different switches/variables 52 times.....yeah.
Thanks to anyone who takes a look.
I'm not sure if this would be considered a double post since I posted that a week ago, if so, sorry.
But I managed to solve all of my problems. I ran into another issue and in coming up with a solution to that I realized that I would essentially have to change the who way I approach the whole system, but in doing so I came upon some solutions to the problems with the earlier events I couldn't rectify.
Lost a few days worth of work...but that happens, it's going to end up better anyway.
Double post is posting after yourself within 72 hours (3 days). So no, not a double post.