Sorry about the subject title.
In my game i want the charecter to be able to pick up and carry objects like rocks, but my code isnt working for me. I want the player to pick up the rock, and be able to set it down when there in the "base" region. Heres the code i have:
if (canpick == 1);
{
ChangeParent("Event Actor", "player");
MoveTo("Event Actor", 0.000000, -5.000000, 9999.000000, "player");
ChangeAnimation("player", "GuyCarry", FORWARD);
carry = 1;
}
if (canpick == 1 && incamp == 1);
{
MoveTo("Event Actor", 20.000000, 20.000000, 10.000000, "camp_region");
canpick=0;
}
Thanks!