The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: fadark on April 01, 2007, 09:11:10 PM

Title: need correct syntax for script
Post by: fadark on April 01, 2007, 09:11:10 PM
I need the correct syntax for a ruby script. i need the correct syntax for:

if event [map_id:1][event_id:4] touches event [map_id:1][event_id:5]: change value of variable[id:7] -=5

or something like that, basicly, i need a script that makes it so: when a spesific event touches a differant spesific event, a spesific variable changes value (-5). but i dont know the correct ruby syntax for all of that. can someone give my the syntax, or just the script?
Title: Re: need correct syntax for script
Post by: fadark on April 03, 2007, 11:40:11 AM
does anyone know how to do this?
Title: Re: need correct syntax for script
Post by: WcW on April 04, 2007, 08:37:49 PM
You need to go fool around with it, or go to scripts to do this. K?