Gamestudio Links
Zorro Links
Newest Posts
Face player all the time ...
by bbn1982. 06/18/24 10:25
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (vicknick, bbn1982), 645 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
trying to scale map entities #250994
02/11/09 06:02
02/11/09 06:02
Joined: Sep 2002
Posts: 199
Chicago, Illinois
Thehawk Offline OP
Member
Thehawk  Offline OP
Member

Joined: Sep 2002
Posts: 199
Chicago, Illinois
Hello all,

I'm trying to scale a map entity through script.

In my action I noticed that the command

my.scale_x = 2 + random(5);
my.scale_y = 2 + random(5);
my.scale_z = 2 + random(5);

work just fine on any .mdl files. But when I add the action to a map enitity it seems to ignore the scale commands. Is scaleing man entity possible through scripting/at all?

Thanks for all the help you all have provided.

Re: trying to scale map entities [Re: Thehawk] #251023
02/11/09 09:03
02/11/09 09:03
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
The wmb entities are nothing more than compiled little levels. Stick with the models; they can be scaled without problems.

Re: trying to scale map entities [Re: George] #251223
02/12/09 06:01
02/12/09 06:01
Joined: Sep 2002
Posts: 199
Chicago, Illinois
Thehawk Offline OP
Member
Thehawk  Offline OP
Member

Joined: Sep 2002
Posts: 199
Chicago, Illinois
Thanks George. I figured it out. tanks for your help.


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