Forum

> > Stranded II > Scripts > Script for a bottled map
Forums overviewStranded II overview Scripts overviewLog in to reply

English Script for a bottled map

3 replies
To the start Previous 1 Next To the start

old Script for a bottled map

aimeewilbury
User Off Offline

Quote
It is an object you can place in a map editor. When you hit the bottle a few times a map will come out. You can't pick up the bottle though. Enjoy.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
### Map in a Bottle
id=90
name=Bottle
group=stuff
icon=gfx\bottlemessage.bmp
model=gfx\bottlemessage.b3d
scale=0.3
mat=glass
health=5
script=start
	on:kill {
		create "item",73,getx("self"),getz("self"),1;
		corona getx("self"),getz("self");
	}	
script=end

old Re: Script for a bottled map

Apache uwu
User Off Offline

Quote
It's very nice you can try...


>improving the script so it is possible to pick the item up as inventory
>Uploading it to the file archive

old Re: Script for a bottled map

Hurri04
Super User Off Offline

Quote
you could try to make a combination to combine the map in a bottle with a stick so the player tries to get the map out without destroying the bottle.

use s2 cmd random to let the player succeed when he is lucky or fail when he has no luck. in that case, the bottle brakes and the player still gets the map.

a bottle can always be handy for someone who is stranded
To the start Previous 1 Next To the start
Log in to reply Scripts overviewStranded II overviewForums overview