Version: 2
Introduction
This is Arrow Over Player's Head 2. Like the first one, this nifty little event system allows players to have an indicator right on top of them with the press of a button. Useful if you can't see yourself and also useful for ABS's. This one was remade from scratch and has a new feature. Toggle/hold the indicator. That's right.
Features
- When player is hidden behind the wall, the player can use an indicator to see him/herself.
- New ability to toggle or hold the indicator.
http://img383.imageshack.us/img383/1040/aoph1vr7.png[/IMG]
Just where the heck am I?
http://img383.imageshack.us/img383/1987/aoph2ir1.png[/IMG]
There I am...man that little indicator is awesome.
http://img452.imageshack.us/img452/8664/aoph3pa0.png[/IMG]
Standing near a tree.
Demo
Read the bulletin on how to use the system.
Download here
Script
3 Common Events
4 Variables
2 Switches
4 Variables
2 Switches
Create four variables. Name them...
Player Screen X
Player Screen Y
Raising Y
Hold or Toggle.
Player Screen X
Player Screen Y
Raising Y
Hold or Toggle.
Create two switches. Name them...
Arrow Over Head
Display Image...
Arrow Over Head
Display Image...
Trigger: Parallel
Switch: Arrow Over Head
------------------------
@>Control Variables: [Player Screen X] = Player's Screen X (not the variable)
@>Control Variables: [Player Screen Y] = Player's Screen Y (not the variable)
@>Control Variables: [Raising Y] = 64
@>Control Variables: [Player Screen Y] -= [Raising Y]
Switch: Arrow Over Head
------------------------
@>Control Variables: [Player Screen X] = Player's Screen X (not the variable)
@>Control Variables: [Player Screen Y] = Player's Screen Y (not the variable)
@>Control Variables: [Raising Y] = 64
@>Control Variables: [Player Screen Y] -= [Raising Y]
Trigger: Parallel
Switch: Arrow Over Head
------------------------
@>Conditional Branch: Variable [hold or toggle] == 0
@@>Conditional Branch: Script: Input.press?(Input::L)
@@@>Control Switches: [Display Image] = ON
@@>Else
@@@>Control Switches: [Display Image] = OFF
@@>Branch End
@>Branch End
@>Conditional Branch: Variable [hold or toggle] == 1
@@>Conditional Branch: Script: Input.trigger?(Input::L)
@@@>Conditional Branch: Switch [Display Image] == ON
@@@@>Control Switches: [Display Image] = OFF
@@@>Else
@@@@>Control Switches: [Display Image] = ON
@@@>Branch End
@@>Branch End
@>Branch End
Switch: Arrow Over Head
------------------------
@>Conditional Branch: Variable [hold or toggle] == 0
@@>Conditional Branch: Script: Input.press?(Input::L)
@@@>Control Switches: [Display Image] = ON
@@>Else
@@@>Control Switches: [Display Image] = OFF
@@>Branch End
@>Branch End
@>Conditional Branch: Variable [hold or toggle] == 1
@@>Conditional Branch: Script: Input.trigger?(Input::L)
@@@>Conditional Branch: Switch [Display Image] == ON
@@@@>Control Switches: [Display Image] = OFF
@@@>Else
@@@@>Control Switches: [Display Image] = ON
@@@>Branch End
@@>Branch End
@>Branch End
Trigger: Parallel
Switch: Arrow Over Head
@>Conditional Branch:
@@>Show Picture: You.png, variable [Player Screen X][Player Screen Y]
@>Else
@@>Erase Picture
@>Branch End
Switch: Arrow Over Head
@>Conditional Branch:
@@>Show Picture: You.png, variable [Player Screen X][Player Screen Y]
@>Else
@@>Erase Picture
@>Branch End
Instructions
This event system will need this graphic.
http://img398.imageshack.us/img398/4825/youpk7.png[/IMG]
FAQ
No questions asked.
Compatibility
N/A
Credits and Thanks
Graphics: Punk
Event System: Punk
Author's Notes
The last version seemed simple to do. This one has a nice new feature. The user has the ability to toggle or hold the indicator that is above his/her head but it depends on the maker of the game and which one of the two options (s)he includes. :p
Terms and Conditions
Credit Punk.