Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: LoneKnight on November 05, 2010, 07:29:45 pm

Title: Awarding Medals
Post by: LoneKnight on November 05, 2010, 07:29:45 pm
I'm trying to award the player a medal for completing a primary objective, but for some reason, regardless of whether the objective is completed, I don't receive the medal. This is what I'm using:

Code: [Select]
$Formula: ( when
   ( is-goal-true-delay "Primary" 0 )
   ( grant-medal "Wings" )
)
+Name: EVE Give Wings
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( is-goal-true-delay "Primary" 0 )
   ( grant-promotion )
)
+Name: EVE Give Promotion
+Repeat Count: 1
+Interval: 1

Any idea of why I can't get the medal and promotion?
Title: Re: Awarding Medals
Post by: General Battuta on November 05, 2010, 07:54:35 pm
It may only work in campaign play, not in the techroom.
Title: Re: Awarding Medals
Post by: The E on November 05, 2010, 07:58:44 pm
Yep, medal granting only works in Campaign or Multiplayer mode.