objective1:
iprintln_noloc "An objective has been added!"
iprintln_noloc "You can not go into the hotel until the guards have been killed."
waitthread global/objectives.scr::current_objectives 1
while (isAlive($sentry_1 || $sentry_2 || $sentry_3 || $sentry_4))
{//////////PS between isalive & (sentry_1) has been tried with a space.
////////////////////////////////////////////////////////////////it doesnt work
wait .2
}
waitthread global/objectives.scr::add_objectives 1 3 "Kill all of the guards outside the complex.(4)"
$maindoor_in triggerable
$maindoor_out triggerable
thread objective2
end
It just doesn't like the code or something.
If someone knows how to script this correctly PLEASE reply!