From 97be09d6ed4935c4558fee4e1776aed963386bff Mon Sep 17 00:00:00 2001 From: Mittendrein Markus Date: Sun, 14 Feb 2016 19:17:02 +0100 Subject: Show spells of collected scrolls to teammembers above the clonk --- TemplePushing.c4s/System.c4g/Scroll.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'TemplePushing.c4s/System.c4g/Scroll.c') diff --git a/TemplePushing.c4s/System.c4g/Scroll.c b/TemplePushing.c4s/System.c4g/Scroll.c index 15ae5e0..c9098df 100644 --- a/TemplePushing.c4s/System.c4g/Scroll.c +++ b/TemplePushing.c4s/System.c4g/Scroll.c @@ -51,3 +51,12 @@ func SetSpell(id spell) SetClrModulation(spell->~ScrollColor()); return _inherited(spell, ...); } + +func Entrance2(object pContainer) +{ + if (pContainer && GetOCF(pContainer) & OCF_CrewMember) + { + pContainer->~ShowTeamHUD(Format("{{%i}}", idSpell)); + } + return _inherited(pContainer, ...); +} -- cgit v1.2.3-54-g00ecf