Evtl. hilft dir das:

http://mitglied.lycos.de/rpgmakerpat...rcodes/011.htm

~RB~