Page 1 of 1

help with picking up and placing objects

PostPosted: Thu Nov 13, 2008 10:26 pm
by tlah
hi, its me again. anyway, i'm creating a legend of zelda game, and when the boss dies, he drops an amulet. i get how to do that part, but how do i get link to pick the amulet up and when the user presses space, have him place the amulet on a pedestal? :?: :?

Re: help with picking up and placing objects

PostPosted: Thu Nov 13, 2008 11:28 pm
by jimmynewguy
ok....
-make a variable call amulet
-then on collision of amulet actor destroy it
-on destroy actor make amulet variable = 1
-make an activation region on the pedestal
-when player collides with the region enable key down
-then on collision fisnish disable it
-then for the region make key down space

Code: Select all
if(amulet == 1)
{
amulet = 0;
CreatActor("amulet");
}


if that helps (and you can understand it) lol

Re: help with picking up and placing objects

PostPosted: Sat Nov 15, 2008 2:28 pm
by tlah
jimmynewguy wrote:ok....
-make a variable call amulet
-then on collision of amulet actor destroy it
-on destroy actor make amulet variable = 1
-make an activation region on the pedestal
-when player collides with the region enable key down
-then on collision fisnish disable it
-then for the region make key down space

Code: Select all
if(amulet == 1)
{
amulet = 0;
CreatActor("amulet");
}


if that helps (and you can understand it) lol

thanks, ill let you know when i need any more help!