I made something like this :
PHP Code:
trap1()
{
kosa = getent("kosa_1", "targetname");
kosa_kill = getent("kosa_2", "targetname");
kosa_kill enablelinkto();
kosa_kill linkto(kosa);
{
kosa movex(82,5,2);
wait (0.5);
kosa movex(-82,5,2);
wait (0.5);
}
}
And it gives me that error: