Hey there. I know this is kinda weird, but I'd like to create an artificial pickup item using [wiki=Classes:CustomInventory]CustomInventory[/wiki] to give players items via ACS. I have everything already set already, but the screen doesn't "flash" when the item is given. I know that there's [wiki]A_SetBlend[/wiki] to emulate this effect, but I don't know the exact values that will trigger Doom's default "pickup flash" screen.
So, does anybody know which values should A_SetBlend use for this?
Creating an artificial pickup
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Re: Creating an artificial pickup
If you're using ACS, you can just do something like FadeTo when you give the players the items.
This is just an example, but you can do something like this:
This is just an example, but you can do something like this:
Code: Select all
FadeTo(255, 255, 255, 0.2, 0.1);
Delay(4);
FadeTo(0, 0, 0, 0, 0.1);
Re: Creating an artificial pickup
Thanks! But I actually just did it with the following parameters:
Code: Select all
A_SetBlend ("d7 ba 45", 0.25, 5)