RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Common event OVER player sprite

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 87
...I'M HUNGRY! Food plawks
I'm designing a system of good/evil points that makes a darker and darker (or lighter and lighter) aura appear around the player as they collect either "good" or "evil" points (think knights of the old republic). Im working out the details, and I think the easiest way of creating this effect is to make many graphics of an actual aura (that get increasingly dark or light), and then use a common event to superimpose the aura over the player. However, I'm having a hard time executing that last bit.

Heres what I have so far (it doesn't work):

Code: [Select]
Conditional Branch: Variable [Your Evil Points] >= 10
 <>Change event location: This Event, By Variables [0001][0002]
 <>Move Event: This Event
          <>Graphic 'Aura1'
          <>Lock Facing On
          <>Layer Priority ON
Else Handler
<>
End
<>


Anyone know what I'm doing wrong? :=:

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Common Events don't have graphics. I suggest you just make an event which controls that in every map. It will have to have the same ID in each map, so it might be a pain to implement, but it should work.

***
Rep:
Level 87
...I'M HUNGRY! Food plawks
Not sure what you mean by ID.

*
A Random Custom Title
Rep:
Level 96
wah
When you make an event, it should say something like ID:001 or something like that as the name.

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
What Modern Algebra says is that instead of using This Event you should select an event.
When you select there will come a drop down menu looking something like this:
Spoiler for:
Player
This Event
001: EV001
002: EV002

The player is in italic because it might not be there.
In 001: EV001 the EV001 part would be the event's real name and 001 be the ID
If you select an event in map editor you will see in the lower right corner (on the status bar) something like 001: EV001 in this cause were you to select the first event. The one with ID 001
So... If you want to make it an parallel process you would have to place 'dummys' on all maps where the system is in function.
By dummys I mean events that will display the graphic. They should all have the same Event ID.


If this sounds too troublesome you could just make the whole event as an map event instead of a common event and just copy-paste it to every map you use.
 - Zeriab

***
Rep:
Level 87
...I'M HUNGRY! Food plawks
Ok, I get it. Thanks guys  ;D

*
A Random Custom Title
Rep:
Level 96
wah
If this sounds too troublesome you could just make the whole event as an map event instead of a common event and just copy-paste it to every map you use.
 - Zeriab
That sounds even more troublesome and will probably cause more lag later on -_- XP And not name, ID.

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
I doubt the difference in lag, if any, would be noticeable.
It is easier to just copy-paste an normal event rather than synchronizing the event ID throughout a game. Especially if you have several maps.
If it's all together in a common event then it's easier change.
Using a common event often increases complexity.

I hope you are able to make it work now ^_^