From ZDoom Wiki
Jump to: navigation, search

void A_SprayDecal (String name [, double dist])


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.


Nuvolachalk.png 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 add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.