- Joined
- Mar 8, 2019
- Messages
- 5
- Reaction score
- 0
- First Language
- french
- Primarily Uses
- RMMV
Hello everyone !
I have trouble with getting IDs.
I want the id of my actor who used the skill but also the id of the target.
I put this in the damage formula :
v[2] = b.enemyId()
This just works, but in need this information in a common event who is launched when you use the skill, and the game call the event before the skill is used. i don't know how to use this << v[2] = b.enemyId() >> in a common event, i tried the script button, but it's say something like "b is not defined". why does he understand in the damage formula and not in the common event ? and also how i use this in a comon event ?
I have trouble with getting IDs.
I want the id of my actor who used the skill but also the id of the target.
I put this in the damage formula :
v[2] = b.enemyId()
This just works, but in need this information in a common event who is launched when you use the skill, and the game call the event before the skill is used. i don't know how to use this << v[2] = b.enemyId() >> in a common event, i tried the script button, but it's say something like "b is not defined". why does he understand in the damage formula and not in the common event ? and also how i use this in a comon event ?

