Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (henrybane), 1,246 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 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 | chip programmers | 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