Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 16,747 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
MaliceTheMaker, Haitao_Ren, JimSimons, julienp, julienper
19248 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