Main Menu
  • Welcome to The RPG Maker Resource Kit.

need correct syntax for script

Started by fadark, April 01, 2007, 09:11:10 PM

0 Members and 1 Guest are viewing this topic.

fadark

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?

just so everyone knows, im 15 years old.

fadark


just so everyone knows, im 15 years old.

WcW

You need to go fool around with it, or go to scripts to do this. K?
If you are reading this, the government of the U.S.A. is currently planting a chip in your brain.
People like decreasing my Rep. In fact, people like decreasing most others people's rep.