Hello, this one is "hurting" me Here is an error message that referes to the System:Print() call:
error in function 'Print'.; argument #3 is 'string'; '[no object]' expected.
function Script:Collision(entity,position,normal,speed)
System:Print(entity:GetKeyValue("name"))
if speed>20 and entity:GetKeyValue("name") ~= "Death Trigger" then
self:Hurt(100)
end
end
Also, the condition in the third line does not work, although I have an object that is called "Death Trigger" and the script gets activated when I hit it...
BTW, don't know what is a third argument of the Print. Also, what does the "'[no object]' expected" means?