I've been unsuccessfully trying to get full C# quest classing working with one of my profiles. The quest itself is easy, and exactly like the Jasperlode mine example in the beginning of this post.
When I try to execute the profile I get all the compile errors, like the rosyln processor is just flipping out about bad namespaces, bad tokens, etc.
It's simple, and my code is almost an exact replica of the example. Any help would be appreciated:
<QuestClass xsi:type="FullCSharpCodeEasyQuestClass">
<Code>
public sealed class TheForgottenPools : QuestClass
{
public TheForgottenPools ()
{
Name = "The Forgotten Pools";
QuestId.AddRange(new [] {870});
Step.AddRange(new[] { 0, 0, 0, 0 });
}
private bool _movedToStart;
public override bool Pulse()
{
if (!_movedToStart && GoToTask.ToPosition(new Vector3(90.37257, -1941.391, 82.64091)))
{
Thread.Sleep(3000);
_movedToStart = true;
}
return true;
}
public override bool IsComplete()
{
if (IsComplete()) return true;
if (!HasQuest()) return false;
return _movedToStart;
}
}
</Code>
When I change the quest back to a normal Path quest everything works. So I know the XML structure is solid. Here's the compiler warnings, not like it means much since it's so obsfucated as temp data: