MH-FNB-LiandriTowers

Tutorials and discussions about Mapping - Introduce your own ones!
Post Reply
User avatar
Barbie
Godlike
Posts: 2808
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: MH-FNB-LiandriTowers

Post by Barbie »

Actor "MapFix" is visible.
class'MapFix '

Code: Select all

//=============================================================================
// MapFix.
//=============================================================================
class MapFix expands Actor;

function MapFix() {
	local Inventory Inv;
	local int FixedInventoryAlwaysRelevant;

	foreach AllActors(class'Inventory', Inv) {
		if (!Inv.bAlwaysRelevant) continue;
		Inv.bAlwaysRelevant = false;
		FixedInventoryAlwaysRelevant++;
	}
	Log("FixedInventoryAlwaysRelevant:" @ FixedInventoryAlwaysRelevant);
}

auto state Idle {
Begin:
	MapFix();
}
Attachments
MH-FNB-LiandriTowers-MapFix.jpg
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
Post Reply