Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 13,346 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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