Forum

> > Stranded II > General > more NPC in random island
Forums overviewStranded II overviewGeneral overviewLog in to reply

English more NPC in random island

2 replies
To the start Previous 1 Next To the start

old more NPC in random island

Guest

Quote
When I start the random island i find always only 1 random NPC.
It is possible to have more ??
In try find this in scripts files but i can't find.
Please help.

old Re: more NPC in random island

Azrael
User Off Offline

Quote
Stranded II\mods\Stranded II\sys\scripts\random_start.s2s

Remove the if '($event ==blah) {' lines and the }s that go with them.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
on:start {
	// ------------------------------------------------ Setup

	// Start Diary
	timer 0,1000,1,"stdiary";

	// Look at Island
	setrot "unit",1,"self",145,"self";

	// Include Random Events
	extendscript 0,0,"sys/scripts/random_events.s2s";


	// ------------------------------------------------ Create a Random Char

	// Chieftain
	$id=randomcreate("unit",40,50,1000000);
	addscript "unit",$id,"sys/scripts/random_charscripts.s2s","chieftain";

	// Hempguy
	$id=randomcreate("unit",38,50,1000000);
	addscript "unit",$id,"sys/scripts/random_charscripts.s2s","hempguy";

	// Native
	$id=randomcreate("unit",34,50,1000000);
	addscript "unit",$id,"sys/scripts/random_charscripts.s2s","native";

	// Pirate
	$id=randomcreate("unit",37,50,1000000);
	addscript "unit",$id,"sys/scripts/random_charscripts.s2s","pirate";

	// Prof
	$id=randomcreate("unit",41,50,1000000);
	addscript "unit",$id,"sys/scripts/random_charscripts.s2s","prof";

}
To the start Previous 1 Next To the start
Log in to replyGeneral overviewStranded II overviewForums overview