Charas-Project

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

Login with username, password and session length
 

News:

New forum theme up and running!



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

Author Topic: Help please  (Read 4364 times)

Offline SilverLightning

  • Member
  • Initiate
  • *
  • Posts: 19
Help please
« on: April 11, 2006, 08:14:57 PM »
OKay i need help,theres a part in my game that you can make a weapon and it's kinda boggin me that if you have the weapon equiped and it does take away that weapon but if its equiped the item stays there so is there any way to stop this?
Logged

Offline Shadowless1

  • _
  • Acolyte
  • *
  • Posts: 495
(No subject)
« Reply #1 on: April 11, 2006, 09:30:15 PM »
um, i dont really understand what you mean, you've typed it all in jibberish, do you mean that when your doing something and the item is equipped you want it to stay there but if its not it removes it?
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 SilverLightning

  • Member
  • Initiate
  • *
  • Posts: 19
(No subject)
« Reply #2 on: April 11, 2006, 09:43:06 PM »
okay the weapon he has equip doesent go a way when the weapon is made
Logged

Offline Shadowless1

  • _
  • Acolyte
  • *
  • Posts: 495
(No subject)
« Reply #3 on: April 11, 2006, 09:44:34 PM »
the hell, i dont understand, explain in detail please the hole thing, what your trying to do
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 SilverLightning

  • Member
  • Initiate
  • *
  • Posts: 19
(No subject)
« Reply #4 on: April 11, 2006, 09:55:06 PM »
okay Theres a part when i can make a weapon but you need 2 items "Soul Stone" and "Old Sword" and i have the old sword equiped and then i go to make the item the sword stays in the weapon slot and the soul stone is gone what am i doing wrong
Logged

Offline Ruler of the Dark

  • DISTRACTION!!
  • Acolyte
  • *
  • Posts: 448
(No subject)
« Reply #5 on: April 11, 2006, 10:01:36 PM »
What do you mean "weapon is made"?

Do you mean you're makings something where you combine weapons to make a new one?

If you want to remove a weapon that's equipped, first check if the weapon is equipped, then if it is, unequip it.  After that, remove the item.

For some script reference...

<>Branch if *Bob* *Sword* Equipped
-<>Change Equipmnt: *Bob* Weapon Unequip
-<>Change Items: *Sword* 1 Remove
-<>
:Else Handler
-<>Change Items: *Sword* 1Remove
-<>
:End
<>
Logged

Offline SilverLightning

  • Member
  • Initiate
  • *
  • Posts: 19
(No subject)
« Reply #6 on: April 11, 2006, 10:06:13 PM »
Quote
Originally posted by Ruler of the Dark
What do you mean "weapon is made"?

Do you mean you're makings something where you combine weapons to make a new one?

If you want to remove a weapon that's equipped, first check if the weapon is equipped, then if it is, unequip it.  After that, remove the item.

For some script reference...

<>Branch if *Bob* *Sword* Equipped
-<>Change Equipmnt: *Bob* Weapon Unequip
-<>Change Items: *Sword* 1 Remove
-<>
:Else Handler
-<>Change Items: *Sword* 1Remove
-<>
:End
<>

thank you if roget about that botten >.>
Logged

Offline Ruler of the Dark

  • DISTRACTION!!
  • Acolyte
  • *
  • Posts: 448
(No subject)
« Reply #7 on: April 11, 2006, 10:17:37 PM »
^_^
No problem.

Feel free to ask me if you have any more coding difficulties.
Though maybe look around the program before asking one as basic as that.  :D
Logged

Offline SilverLightning

  • Member
  • Initiate
  • *
  • Posts: 19
(No subject)
« Reply #8 on: April 11, 2006, 10:24:00 PM »
okay new problem im trying to make an item to teleaport to a place but how do i return the the spot where i used that item?
Logged

Offline Moosetroop11

  • Sage
  • *
  • Posts: 7,398
(No subject)
« Reply #9 on: April 11, 2006, 10:29:53 PM »
Memorise position, then recall to memorise position. 'Bout half way down the second event page.
Logged
Maaaaaaaaaaaaaaaaaaaaaaaaaaan I missed this place.

Quote from: drenrin2120
Maaaaaaaaaaaaaaaaaaan I missed you.

Quote from: fruckert
Maaaaaaaaaaaaaaan I missed that welcome.

Offline SilverLightning

  • Member
  • Initiate
  • *
  • Posts: 19
(No subject)
« Reply #10 on: April 11, 2006, 11:14:26 PM »
Quote
Originally posted by Moosetroop11
Memorise position, then recall to memorise position. 'Bout half way down the second event page.

okay thanks for the help
Logged

Offline SilverLightning

  • Member
  • Initiate
  • *
  • Posts: 19
(No subject)
« Reply #11 on: April 11, 2006, 11:25:00 PM »
okay for the telaporting item heres the detales

Item
Telaport gate1
Switch

Commen Event

<>Memorize Location
<>Teleport

Event Location
<>Recall To location

so when i use the item the screen turns black so i need help
Logged

Offline Sephiroth rocks

  • Acolyte
  • *
  • Posts: 479
(No subject)
« Reply #12 on: April 12, 2006, 01:31:42 PM »
Just make the common event like this:

(Precondition: Switch [####: Teleport Item] is on)
Branch: If switch [####:Teleporting] is off
<>Memorize position var[####: mapID], var [####: posx],  var [#### posy]
<>switch operation: turn switch [####: Teleporting] on
<>Teleport
:Else Handler
<>Recall to memorized position var[####: mapID], var [####: posx],  var [#### posy]
<>switch operation: turn switch [####: Teleporting] off
End
Logged

Offline Sephiroth rocks

  • Acolyte
  • *
  • Posts: 479
(No subject)
« Reply #13 on: April 12, 2006, 01:33:46 PM »
And BTW remember to turn the Teleport Item switch off at the end of the common event and make it parallel process.
Logged

Offline SilverLightning

  • Member
  • Initiate
  • *
  • Posts: 19
(No subject)
« Reply #14 on: April 12, 2006, 09:06:58 PM »
okay when i use the item it ses Event scrip referenced a map that does not exist what am i doing worng now?
Logged

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

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