How do I make a ctf objective? [Solved]
Posted: Tue Jan 26, 2010 10:03 pm
Its probably something really simple that i'm missing here. I placed a flag (copied from the corrusant map) into my map near a crashed gunship and named it holocron2. I then copied and pasted the following lua lines directly out of the cor script then modified to fit my map. The map doesn't seem to recognise that I placed the flag though because I get this error
Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(635)
Entity "holocron2" not found
Message Severity: 3
.\Source\LuaHelper.cpp(312)
CallProc failed: ERROR: flag holocron2 does not exist in the map
stack traceback:
[C]: in function `assert'
(none): in function `Start'
(none): in function `ActivateObjectiveSet'
(none): in function `Start'
(none): in function `BeginObjectives'
It doesn't crash, its just that there is no holocron near the gunship and the objective is uncompletable.
Here is the script portion from my .lua
Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(635)
Entity "holocron2" not found
Message Severity: 3
.\Source\LuaHelper.cpp(312)
CallProc failed: ERROR: flag holocron2 does not exist in the map
stack traceback:
[C]: in function `assert'
(none): in function `Start'
(none): in function `ActivateObjectiveSet'
(none): in function `Start'
(none): in function `BeginObjectives'
It doesn't crash, its just that there is no holocron near the gunship and the objective is uncompletable.
Here is the script portion from my .lua
Hidden/Spoiler: