Main Menu
  • Welcome to The RPG Maker Resource Kit.

[XP] Arrow Over Player's Head System

Started by Punk, November 26, 2006, 02:32:26 AM

0 Members and 1 Guest are viewing this topic.

Punk

Are you really tired of not seeing your character because (s)he blends in with the map?

3 Common Events
3 Variables
2 Switches

Download this

Create two switches.

Name the 1st "Arrow System"
Name the 2nd "Arrow Display"

Now do the first common event. Name it "coordinates"
Make the trigger parallel process
Condition switch: Arrow System

Do this:

@>Control Variable: [0001: X] = Player's Screen X
@>Control Variable: [0002: Y] = Player's Screen Y
@>Control Variable: [0003: A Variable] = 60
@>Control Variable: [0002: Y] -= Variable [0003: A Variable]

This adjusts the coordinates of the picture.

Next

Make another common event, name it "Button" (Or whatever you want.)
Trigger: Parallel Process
Conditional Switch: Arrow System

@>Conditional Branch: Script: Input.trigger?(Input::L)
@>>Conditional Branch: Switch: [0002: Arrow Display] == OFF
@>>>Control Switches: [0002: Arrow Display] == ON
@>>Else
@>>>Conditional Branch: Switch: [0002: Arrow Display] == ON
@>>>>Control Switches: [0002: Arrow Display] == OFF
@>>>Branch End
@>>Branch End
@>Branch End

Lastly, make a new common event. Name it "Arrow Pictures."
Trigger: Parallel Process
Conditional Branch: Arrow System

@>Conditional Branch: Switch: [Arrow Display] == ON
@>>Show Picture: 1, 'Arrow', Center, Variable [0001][0002]), (100%, 100%)
@>Branch End
@>Conditional Branch: Switch: [Arrow Display] == OFF
@>>Erase Picture: 1
@>Branch End

Screenshots:

The forest!


Where am I?


Oh, there I am...

Any questions, comments about this system?

Best-Gammer

ima see if this works on rpg maker 2003
September 13, 2007, 06:56:52 PM <-  Last Login
.
I returned and better than ever!
.
Don't mess with me.
.
Ever....

Doctor Professor Nikolai


:)

when your caracter is on the map, you press abutton and you can see an arrow appera over his head, so incase he is behind a tree and your running into a wall you wouldnt  know, but now you do
Watch out for: HaloOfTheSun

Punk


Blizzard

Hey, it would be a great idea to make a script do it automatically if the player is behind a tile that has a higher priority than himself.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Nightwolf

Arlen is hot.

&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&

Doctor Professor Nikolai

oh! I got a cool idea =D but it need alot of eventing maybe. You walk behind a tree and its opicity drops, so you can see through it =D

Punk


Lord Dante

hm...perhaps. i think this way is just easier. good idea and good job executing it.

Trackys

very good tut mate, but mine dosent seem to work, dunno if im doin it wrong but here is my ss of my Common Events etc etc

http://i115.photobucket.com/albums/n290/Trackys/coords.jpg <<< coordinates
http://i115.photobucket.com/albums/n290/Trackys/button.jpg <<< Button
http://i115.photobucket.com/albums/n290/Trackys/arror.jpg  <<< Arrow Pictures

any help would b awsome thanx in advance
Jared Hopkins, I Use RPGMaker for all my gaming needs

Blizzard

Quote from: dr_azzilB on November 27, 2006, 11:38:35 AM
Hey, it would be a great idea to make a script do it automatically if the player is behind a tile that has a higher priority than himself.

I'll include this in the next release of my Tons of Add-ons. ;8
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Rukishou

Why doesn't this work for me? And how do I do so that its @> in the beginning of a line and not <>
?????


Rukinet. - the dot's included!

Punk

@> (You see this when you have legal RMXP but if you have postality or some other RMXP, you'll see this <> I believe.)