elseif ($gotjob==1&&$miner==0) {msg "You already have a job. Go away";}
Forum
Stranded II Scripts Scripting Questionselseif ($gotjob==1&&$miner==0) {msg "You already have a job. Go away";}
1
... elseif( ($gotjob==1) && ( $miner==0 ) ) ...
or try :
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
if ($gotjob==0) { 	dialogue "job", "miner.s2s"; }else{ 	if ( $miner==0 ) { 		msg "You already have a job. Go away";} 	else{ 		dialogue "miner", "miner.s2s"; 	} }
Semilicon has written
it always executes
elseif ($gotjob==1&&$miner==0) {msg "You already have a job. Go away";}
elseif ($gotjob==1&&$miner==0) {msg "You already have a job. Go away";}
If i remember correctly, when using multiple comparisons in an if statement, each needs it's own ().
so try this instead:
elseif (($gotjob==1) && ($miner==0)) {
msg "You already have a job. Go away";
}
through it...
### Wall
id=224
name=Wall
group=building
icon=gfx\palisade.bmp
model=gfx\palisade.b3d
scale=2
health=8000000000000000000
color=40,0,0
mat=wood
col=3
It's also listed at objects.inf.
How can I fix this?
Fast answer please, I need it tomorrow
scale=6
col=9
Sorry for triple post.
text scripts
Guest geust has written
i need to know how to add text to npc`s im trying to maek a map and am unable to find uout how to add text scripts
You need to take a look at the S2 reference and learn
about the msg, msgbox and msgwin dialogues
and take a look at the files that end in .s2 in S2's
/script subfolder
map hoping?
Guestloadmap
savemap
you have to play a little with that one
texture maping
Guestimport your model in there and then export it to b3d
On the first isle, i am on the 13-14 day, and i really progress my camp, and my skills, but what should i do next?
What is the final goal of the isle and when i kill the lions and the turtles , where can i get more skin?
I know of course about scale, color, maxhealth, model, some player definition, but I'd like to have acces to any of them.....
HudaJan has written
is there some way to have acces (and change) to any definition of the object/unit/item during the game using scripts?
I know of course about scale, color, maxhealth, model, some player definition, but I'd like to have acces to any of them.....
I know of course about scale, color, maxhealth, model, some player definition, but I'd like to have acces to any of them.....
You mean something like
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
. . . health=500 maxweight=150000 mat=wood . . .
No. Unfortunately not.
You may set some parameters like
1
param=whatthefuck,7