~~NOTOC~~ ====== CreateShot ====== CreateShot(<-image <-start <-target <-speed <-lifetime <-damageCount <-damageMaxDist <-damageAmt <-damageDigiAmt <-damageAC <-hitsTargets <-colliderHitDamage <-sound) ===== Description ===== Creates a shot, or bullet. \\ image: The name of an image to use for the shot. \\ start: V2 for the starting position. \\ target: V2 for the target position. \\ speed: Float for the speed of the shot. \\ lifetime: Max number of updates for the shot to live. \\ damageCount: Max number of cells of creeper for the shot to damage. \\ damageMaxDist: Maximum distance from the point of impact that creeper can be damaged. \\ damageAmt: The int amount of damage to deliver to creeper per cell. \\ damageDigiAmt: The int amount of damage to deliver to digitalis. \\ damageAC: A boolean indicating whether to damage AC. \\ hitsTargets: An int, 0,1,2 indicating whether to hit units. 0 means hit no units. 1 and 2 indicate different hits layers and specified on units via their "shothitlayer" setting. \\ colliderHitDamage: The internal damage to deliver to a hit unit. Defaults to 1. \\ sound: A string specifying the sound name to play when the shot is created. \\ ===== Examples =====