[RMXP] Check for player's transparency

4136

Warper
Member
Joined
Aug 28, 2018
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMXP
Hello, sorry if this is just as small question to make a thread for.

Soo... I would like to know how to do a check if the player's transparency is equal to 0 or check if the player is transparent, I am using RPG Maker XP.

I've tried searching a bunch of times but couldn't find it. Thanks in advanced!
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,838
Reaction score
5,221
First Language
Dutch
Primarily Uses
RMXP
Script Support is for asking for help with existing scripts.

I've moved this thread to Learning Ruby. Please be sure to post your threads in the correct forum next time. Thank you.

 

MobiusXVI

Game Maker
Veteran
Joined
Mar 20, 2013
Messages
383
Reaction score
91
First Language
English
Primarily Uses
If you're talking about the "player" as the character on the map, then "$game_player.transparent" will return True when they are transparent and False when they are visible.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,981
Members
137,563
Latest member
cexojow
Top