Gamestudio Links
Zorro Links
Newest Posts
Trades during a running bar
by Martin_HH. 09/18/26 12:45
Capital slider is not saving in Z12
by frutza. 09/17/26 13:36
Avoiding pop-up training parameter results
by Martin_HH. 09/16/26 21:31
What are you working on?
by rayp. 09/16/26 20:20
Future of ZorroHFT
by TipmyPip. 09/16/26 09:28
Fun Arcade Car Physics (nfs style)
by rayp. 09/16/26 05:23
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (frutza), 2,543 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
lokkalyansamiti, rahulbuilds, speedx, liop, Bauer097
19235 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Little question (solved) #314035
03/05/10 08:08
03/05/10 08:08
Joined: Mar 2010
Posts: 29
L
lollollollollol Offline OP
Newbie
lollollollollol  Offline OP
Newbie
L

Joined: Mar 2010
Posts: 29
Hey,

I have a question. How can you turn your entitys (pan), without screwing up the script inside an ent_create part?

like:
ent_create("zombiek.mdl",vector(293,-107,-55), zombie_bars);

somewhere in there?

Last edited by lollollollollol; 03/06/10 17:57.
Re: Little question [Re: lollollollollol] #314036
03/05/10 08:27
03/05/10 08:27
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
If you want to turn the entity only once to give it the wished startposition, you can do it this way:

you = ent_create("zombiek.mdl",vector(293,-107,-55), zombie_bars);
you.pan = 270;

Re: Little question [Re: lollollollollol] #314042
03/05/10 09:32
03/05/10 09:32
Joined: Mar 2007
Posts: 112
MikeS Offline
Member
MikeS  Offline
Member

Joined: Mar 2007
Posts: 112
in your function zombie_bars

my.pan +=10; // or whatever you need
or

my.pan=270;



Last edited by MikeS; 03/05/10 09:33.

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