RPG Maker Forums Archive
Search Settings
Home › Game Development Engines › Ruby Game System (RGSS) Scripts › RGSSx Script Support

Preventing Battle if higher than mob level

RGSSx Script Support
12
Z Zero0018
Apr 28, 2015 17:09
Tsukihime said:
Sorry, should have double-checked. Only actors can access their ID's via "id". Enemies need to use "enemy_id" for some reason.

$game_troop.members[0].enemy_id == 3
Click to expand...
Woooo! Thanks. This works now!

Final setup in pic.

1.png
12

Original thread: https://forums.rpgmakerweb.com/threads/preventing-battle-if-higher-than-mob-level.37529/

This is an unofficial, read-only archive preserved for the community. Original site: https://forums.rpgmakerweb.com

Want your posts removed? See removal requests or email [email protected]. · Preserved with Forum Ark · Privacy · About