Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • RMXP Scripting Help
« previous next »
  • Print
Pages: [1]

Author Topic: RMXP Scripting Help  (Read 1839 times)

Offline Shadowless1

  • _
  • Acolyte
  • *
  • Posts: 495
RMXP Scripting Help
« on: May 21, 2006, 08:29:30 AM »
Hello i was up all night last night trying to get this to work but it just wont!, could someone please tell me what im doing wrong or what to do,
i have an event, ive set the co-ordinates for them:
[0008]Monster X
[0009]Monster Y
[0006]Hero X
[0007]Hero Y
[0013]Hero X 2
[0015]Hero Y 2
[0014]Hero X 3
[0016]Hero Y 3

Here Are some other Variables and what they do:
[0001]Monster Walking, Starts Walking Animation (varible number from 1 - 5)
[0005]Monster Attack, Starts Attack Anim (variable number from 1 - 4)

-----
Ok Here Is the Event Command

<>Label: If Monster Coords
<>Conditional Branch Variable [0008: Monster X] == Variable [0013: Hero X 2]
 <>Conditional Branch Variable [0009: Monster Y] == Variable [0007: Hero Y]
  <>*****(SCROLL DOWN TO SEE WHAT WOULD GO HERE)*****
: Else Handler
  <>
: End
 <>
: Else Handler
 <>Conditional Branch: Variable [0008: Monster X] == Variable [0014: Hero X 3]
  <>Conditional Branch: Variable [0009: Monster Y] == Variable [0007: Hero Y]
   <>
 : Else Handler
   <>
 : End
 <>
: End
<>Conditional Branch: Variable [0006: Hero X] == Variable [0008: Monster X]
 <>Conditional Branch: Variable [0009: Monster Y] == Variable [0015: Hero Y 2]
  <>
: Else Handler
  <>
: End
 <>
: Else Handler
 <>Conditional Branch: Variable: [0008: Monster X] == Variable [0006: Hero X]
  <>Conditional Branch: Variable: [0009: Monster Y] == Variable [0016: Hero Y 3]
   <>
 : Else Handler
   <>
 : End
  <>
: Else Handler
  <>
: End
 <>
:End


----

*****(THIS WOULD GO FURTHER UP)*****
<>Variable: [0005: Monster Attack] = 1
<>Jump To Label:Monster Attack Right
<>
Else Handler
<>Jump to label: If Monster Coords
<>
End
<>Label: Monster Attack Right
<>Conditional Branch Variable [0005: Boss Attack] == 4
 <>Conditional Branch Variable [0008: Monster X] == Variable [0013: Hero X 2]
  <>Conditional Branch Variable [0009: Monster Y] == Variable [0007: Hero Y]
   <>Message: Monster Does Damage
   <>
   Else Handler
   <>Variable: [0005: Monster Attack] = 0
   <>Jump tp Label: If Boss Coords
   <>
   End
  <>
  Else Handler
  <>Jump to Label: If Boss Coords
  <>
  End
 <>
 End
<>





------
Ok is there anything wrong?
OR What is missing

please help i would be forever greatfull
Logged
<img src="http://i38.tinypic.com/1628lmr.gif">
<img src="http://i4.tinypic.com/25rctmo.gif"><img src="http://i2.tinypic.com/25rcu4y.png">
<img src="http://i5.tinypic.com/25rcuhx.jpg"><img src="http://i5.tinypic.com/25rcux3.gif">

Offline Shadowless1

  • _
  • Acolyte
  • *
  • Posts: 495
(No subject)
« Reply #1 on: May 22, 2006, 04:47:51 PM »
can anyone help please? i beg you *gets on knees and begs*
Logged
<img src="http://i38.tinypic.com/1628lmr.gif">
<img src="http://i4.tinypic.com/25rctmo.gif"><img src="http://i2.tinypic.com/25rcu4y.png">
<img src="http://i5.tinypic.com/25rcuhx.jpg"><img src="http://i5.tinypic.com/25rcux3.gif">

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • RMXP Scripting Help
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum