Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: Shadowless1 on May 21, 2006, 08:29:30 AM

Title: RMXP Scripting Help
Post by: Shadowless1 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
Title:
Post by: Shadowless1 on May 22, 2006, 04:47:51 PM
can anyone help please? i beg you *gets on knees and begs*