Bouncing Arrow - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki

<- Back

CompProperties_BouncingArrow just displays a bouncing white arrow over a building. We use these in Vanilla Quests Expanded mods to display quest items in quest maps (for example lootables) so they are more easily seen by the player

        public bool startBouncingArrowUponSpawning;

How do I use this code?

It is a comp class, so you just add it in XML in the <comps> tag. For example, this is added to lootable buildings in out Quests mods:

<comps>
	<li Class="VEF.Buildings.CompProperties_BouncingArrow">
		<startBouncingArrowUponSpawning>True</startBouncingArrowUponSpawning>
	</li>
</comps>
⚠️ **GitHub.com Fallback** ⚠️