Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/20/26 15:57
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (alibaba), 3,592 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Move_distan #73395
05/06/06 20:14
05/06/06 20:14
Joined: May 2006
Posts: 4
A
Amado Offline OP
Guest
Amado  Offline OP
Guest
A

Joined: May 2006
Posts: 4
I want when I press the (k) my player open a door for distance
but not working

action door_open
{
if(key_k==0)
{
my.pan += 8 * time;
wait(1);
}
if (key_k ==1)
{
my.pan -= 8 * time;
wait(1);
}
}
how I do move an entiti for distance with pressing a botton

Re: Move_distan [Re: Amado] #73396
05/07/06 10:39
05/07/06 10:39
Joined: Jan 2006
Posts: 179
Cemper Offline
Member
Cemper  Offline
Member

Joined: Jan 2006
Posts: 179
action door_open
{
while(1)
{
if(key_k==0)
{
my.pan += 8 * time;
wait(1);
}
if (key_k ==1)
{
my.pan -= 8 * time;
wait(1);
}
}
}


Was nie begonnen, kann auch nie scheitern. (Mit anderen Worten: Leg dich aufs Sofa und sieh fern )

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1