That would be a lot simpler and cooler.
Code:
function Create(self)
for actor in MovableMan.Actors do
if actor.PresetName == "Ronin VIP" then
self.currfunds = ActivityMan:GetActivity():GetTeamFunds(self.Team)
ActivityMan:GetActivity():SetTeamFunds(self.currfunds+(self.GoldValue*0.5), self.Team)
break
else
end
end
end
Done and dusted.
This gives the actor it is run on a 50% discount when Ronin VIP is present.