<aside> ⚡ script "core_alphaprojectile" (int who, int teamMode, int minAlpha, int maxDist) CLIENTSIDE

</aside>

Usage


This script makes an actor become semitransparent for the given client only, fading in and out with distance.

For use of the TID parameter, you can use [core_getptrtid](<https://mm8bdm.notion.site/core_getptrtid-bc4f8073984a40569b6dd2b74a384abc>) to get the actor you want this script to relate to.

<aside> 💡 Note: Because this script takes 4 parameters, it is required to call it using [ACS_NamedExecuteWithResult](<https://zdoom.org/wiki/ACS_NamedExecuteWithResult>).

</aside>

Parameters