void A_SprayDecal (String name [, double dist])
void A_SprayDecal (String name [, double dist [, vector3 offset [, vector3 direction]]]) (New from 4.4.0)
|Warning: starting with 4.4.0, this function is no longer fully supported by DECORATE. If used from DECORATE, the offset and direction parameters should be omitted. Consider switching to ZScript to fully utilize this function.|
Generates the specified decal on a nearby wall. The calling actor needs to be facing the wall in order to successfully generate the decal.
- name: the name of the decal to generate as defined in DECALDEF.
- dist: the maximum distance in map units the calling actor can stand from the wall and still successfully generate the decal. Default is 172.0.
- offset: (Need more info) Default is (0, 0, 0). (New from 4.4.0)
- direction: (Need more info) Default is (0, 0, 0). (New from 4.4.0)
|Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.|