if acklay5 = 2 then
--SPAWN ACKLAY! YEZ!
SetProperty("acklay", "SpawnPath", "acklay_spawn")
StartTimer("acklay1")
end
DestroyTimer(timer)
end,
acklay
)
--rnow delete the acklay path so that if it falls off a cliff it does not appear again!--
acklay1 = CreateTimer("acklay1")
SetTimerValue(acklay1, 5)
OnTimerElapse(
function(timer)
SetProperty("acklay", "SpawnPath", "")
DestroyTimer(timer)
end,
acklay1
)[/code][/quote]
Did you forget the double equals sign? I did this and I got a nice 'then' error so I added it and there was no error so I'm going to test it a bunch of times.