It is currently Wed Dec 02, 2020 10:19 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Crates
PostPosted: Sat Apr 26, 2008 2:52 pm 
Offline
Soldier level 4
Soldier level 4
User avatar

Joined: Sat Oct 20, 2007 3:51 pm
Posts: 325
Location: Belgium
Please post how to let crates spawn here ( comment in english please )

_________________
"Life Is Short" ~ Unknown
"All teames hold position, I need a drink" ~ Gagei


Top
 Profile  
 
 Post subject: Re: Crates
PostPosted: Thu May 08, 2008 6:51 pm 
Offline
Moderator
Moderator
User avatar

Joined: Fri Jan 13, 2006 6:20 pm
Posts: 2325
Location: Argentina
As far as I know there are two functions (or maybe more) that take care of the crates spawning.
If I'm correct, one uses an area established by the user, and the other uses coordinates.
The functions have 3 inputs, one for the location(if it is in coordinates then there are two inputs, one for the X and the other for Y), the other for the type of the materials, and the last for the quantity. And If I'm not wrong, there should be one input more that is expressed with a boolean logic (true/false), that belongs to if it appears materialized (with the flash and the boom) or as if it was already there (spawns in a simple way, without booms or etc.)
You can find those functions in the Downloads section, in the "SAIL Functions" document.
Hope this was helpful.
AW at your service. :wink:

_________________
-Aleph.

THE Very active person

"You can only do well at something if you put the time in. Doesn't matter what subject it is. You can't make a master piece over night."
Wise man Stu-


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 09, 2008 3:32 pm 
Offline
Soldier level 4
Soldier level 4
User avatar

Joined: Sat Oct 20, 2007 3:51 pm
Posts: 325
Location: Belgium
Thank you gwren :D
finaly a reply :P

_________________
"Life Is Short" ~ Unknown
"All teames hold position, I need a drink" ~ Gagei


Last edited by 0warfighter0 on Sat May 31, 2008 11:09 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sat May 31, 2008 11:07 am 
Offline
Soldier level 4
Soldier level 4
User avatar

Joined: Sat Oct 20, 2007 3:51 pm
Posts: 325
Location: Belgium
What am I doing wrong?

Code:
every 1$0+0$15 do
begin
  createcratesarea(5,target,true);
  begin
    supply=supply-1;
    enable;
  end
end;

_________________
"Life Is Short" ~ Unknown
"All teames hold position, I need a drink" ~ Gagei


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 31, 2008 12:59 pm 
Offline
OW Support Owner
OW Support Owner
User avatar

Joined: Wed Dec 28, 2005 11:13 pm
Posts: 5014
Location: UK, Scotland
Do clue. But i can clean the code up for you.

Code:
every 1$15 do
begin
  createcratesarea(5,target,true);
  supply=supply-1;
  enable;
end;


What is the point of Supply? Btw im not sure but i think the first value has to be the type of crates to spawn.

Quote:
mat_cans = 1
mat_oil = 2
mat_siberit = 3

_________________
Image
Free Map Editor - Game Requirements - Stucuk.Net
-Stu


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 31, 2008 1:51 pm 
Offline
Soldier level 4
Soldier level 4
User avatar

Joined: Sat Oct 20, 2007 3:51 pm
Posts: 325
Location: Belgium
It works!:D
Just do this:
Code:
every 1$15 do
begin
  CreateResourcesArea(1,5,target,true);
  enable;
end;

_________________
"Life Is Short" ~ Unknown
"All teames hold position, I need a drink" ~ Gagei


Top
 Profile  
 
 Post subject: Re: Crates
PostPosted: Sat Dec 27, 2014 8:36 pm 
Offline
Soldier level 0
Soldier level 0

Joined: Sat Dec 27, 2014 12:36 pm
Posts: 12
Thank you :D

Finaly i can make crates after 1 week of searching


Top
 Profile  
 
 Post subject: Re: Crates
PostPosted: Tue Dec 30, 2014 4:27 am 
Offline
Moderator
Moderator
User avatar

Joined: Fri Jan 13, 2006 6:20 pm
Posts: 2325
Location: Argentina
mineru1000 wrote:
...after 1 week of searching


1 week?! My God...

_________________
-Aleph.

THE Very active person

"You can only do well at something if you put the time in. Doesn't matter what subject it is. You can't make a master piece over night."
Wise man Stu-


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Original War is an RTS / RPG game by Altar Games
Original War Support is not part of Altar Games but is maintaining Original War for Altar Games

Privacy Policy