28-12-2008, 12:50 AM
ok Guys, I am looking to fix my code into MS4, but I get compile error argument not optional
it highlights doquest, I think it's because I don't have the charnum thing right, because it can't find the char to attach the quest to. could someone please let me know how to properly do this code
I think this is the issue.
Code:
If Npc(npcnum).Quest > 0 Then
Call DoQuest(Npc(npcnum).Quest, Attacker, npcnum)
Else
Code:
If ReadINI(Player(Index).Char(Charnum).Name, "QUEST" & Npc(npcnum).Quest, App.Path + "\qflag.ini") = 0 Then
I think this is the issue.