|
It is currently Tue May 22, 2012 3:06 pm
|
View unanswered posts | View active topics
| Welcome |
|
Welcome to icugigasoft
You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today! |
 |
|
 |
|
|
U Division
|
Post subject: Re: [RM2k3] Bunch of Problems Posted: Sun Jan 31, 2010 1:04 am |
| Senior Member |
 |
 |
Joined: Sun Nov 01, 2009 7:38 pm Posts: 4322
|
Proximity detection: Parallel Process
Var: This Event X (Set to This Event MapX) Var: This Event Y (Set to This Event MapY) Var: Sight Range (How far they can see is up to you) Var: Sight Range X (Leave as 0 for now) Var: Sight Range Y (Leave as 0 for now) Var: Hero X (Set it) Var: Hero Y (Set it)
Fork Conditions if Switch HERO UNDER SHAFT is OFF (This can be done with Terrain and a Var set to a Terrain value instead) FORK if This Event is Facing RIGHT FORK if This Event X <= Hero X Var: Sight Range X = This Event X Var :Sight Range X + Sight Range FORK if Hero X <= Sight Range X <INSERT WHAT HAPPENS> (Move towards hero?) END ELSE FORK if This Event is Facing LEFT FORK if This Event X > Hero X Var: Sight Range X = This Event X Var :Sight Range X - Sight Range FORK if Hero X >= Sight Range X <INSERT WHAT HAPPENS> (Move towards hero?) END ELSE FORK if This Event is Facing DOWN FORK if This Event Y <= Hero Y Var: Sight Range Y = This Event Y Var :Sight Range Y + Sight Range FORK if Hero Y <= Sight Range Y <INSERT WHAT HAPPENS> (Move towards hero?) END ELSE FORK if This Event is Facing UP FORK if This Event Y > Hero Y Var: Sight Range Y = This Event Y Var :Sight Range Y - Sight Range FORK if Hero X >= Sight Range Y <INSERT WHAT HAPPENS> (Move towards hero?) END END END END *It'd be best to use a common event for the INSERT WHAT HAPPENS if possible
|
|
|
|
 |
|
U Division
|
Post subject: Re: [RM2k3] Bunch of Problems Posted: Sun Jan 31, 2010 1:11 am |
| Senior Member |
 |
 |
Joined: Sun Nov 01, 2009 7:38 pm Posts: 4322
|
Health HUD: Common Event "Call Event" Call the event whenever his health is changed. It's better than using a parallel process to constantly show a picture. This also depends on how nice you want it to look. Var "%HP" [SET] The Value [Max HP] on the Scroll Down Menu Var "%HP" [DIVIDE] The Value [HP] on the Scroll Down Menu Var "%HP" [MULTIPLY] 100
FORK If HP% == 100 SHOW PICTURE (Bar at %100) ELSE FORK If HP% >= 90 SHOW PICTURE (Bar at %90) ELSE ...
... FORK if HP% == 0 SHOW PICTURE (Bar at %0) END
You can have as little or as many "notches" on the bar as you want. Depends on how much work you want to do. Also, this is based on you making pictures for every interval.
Last edited by U Division on Sun Jan 31, 2010 2:26 pm, edited 1 time in total.
|
|
|
|
 |
|
|
 |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|