Original Source
- Original title: Attacking specific party member?
- Original author: Crifmer
- Original date: September 21, 2014
- Source thread: https://forums.rpgmakerweb.com/threads/attacking-specific-party-member.32255/
- Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker VXAce Support
Summary
Hi guys, I just picked up VXAce this past week and I'm having a lot of fun. I did the awesome tutorial by Kelsper (you can find it here but I stopped polishing and balancing so I could move on to a game of my own for more learning) and have been going through the forums and reading stuff and playing unencrypted games so I could figure out stuff on my own, but I do have a question I haven't been able to figure out yet:
Archived First Post
I just picked up VXAce this past week and I'm having a lot of fun. I did the awesome tutorial by Kelsper (you can find it here but I stopped polishing and balancing so I could move on to a game of my own for more learning) and have been going through the forums and reading stuff and playing unencrypted games so I could figure out stuff on my own, but I do have a question I haven't been able to figure out yet:
I want to create a skill that allows the party a guaranteed escape (even in "unescapable" battles), but the enemies will attack the user.
I set up the skill (Distraction) to call a common event which forces all the battlers to attack, throws up some text ("You escape!") and then aborts the battle.
For the life of me, I can't figure out how to get the battlers to consistently attack the person using the skill. I set up a state called Target which increases the user's TGR by 1000%, but I don't think it's getting applied. It looks like the common event is getting called before the state gets applied. Here's what I've got so far:
Skill:
A related issue is that it seems that the state is not getting applied before the event is called. I'm not seeing the state message or icon before the enemies attack.
I want to be sure that the baddies attack the person providing the distraction, no matter where in the formation he is.
The only thing i can think of is using a script to get the user's formation ID, then have the battlers attack that formation ID. But I can't find anywhere that showed me how to find the formation ID of the acting character. I'm familiar with programming, but not with Ruby, so I can more or less understand what I'm reading, but I wouldn't know how to write it.
Thanks for any and all help.
-C
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...