1
2
3
2
3
$pitch=?? $yaw=?? setrot"object",currentid(),$pitch,$yaw,0;
Scripts
Scripting Questions$pitch=?? $yaw=?? setrot"object",currentid(),$pitch,$yaw,0;
###Water Wheel
id=63
name=Water Wheel
group=vehicle
ani_idle1=1,47,0.25
scale=1
health=100
behaviour=vehicle
sfx=watercraft
icon=waterwheel.bmp
model=waterwheel.b3d
colxr=100
colyr=100
loopmoveani=1
script=start
	on:kill { free "self"; }
script=end
$pitch=?? $yaw=?? setrot"object",currentid(),$pitch,$yaw,0;
getpitch and
getyaw. Will it work? Like this:$pitch=getpitch "class", id; $yaw=getpitch "class", id; setrot"object",currentid(),$pitch,$yaw,0;
### Lionstone
id=199
name=Lion Stone
group=stuff
icon=gfx\lionstone.bmp
model=gfx\lionstone.b3d
health=300
mat=stone
find=23,60,1
find=21,60,10
find=11,20
find=71,15
scale=1
var=radius,Radius,500,0
var=count,Lions per Day,1,0
var=max,Lions max,1,0
var=radius2,Radius,7000000,0
var=count2,Lionstones per Day,1,0
script=start
	on:changeday {
		loop("count",$count) {
			if (count_inrange("unit",9,$radius,"self")<$max){
				create "unit",9,getx("self"),getz("self");
			}
		}
	}
	on:kill {
		loop("count",$count2) {
			if (count_inrange("object",199,$radius2,"self")=0){
				create "unit",18,getx("self"),getz("self");
			}
		}
	}
script=end
loadmap script. loadmap "maps\your map's name",1,1,1,1;
movecam. Example:on:start {
seqstart;
movecam 1, 1, infoID; //place whare it starts//
movecam 1, 5000, infoID; //next info//
segend 5000; //Time when it stops//
setat "unit", 1, "info", infoID; //Where you want player is when "film" stops//
click
projectile script's modes? there is:projectile item-typ,x,y,z, modus[,offset][,waffe]etc.
sleep doesn't work properly. But, as an option, you could set
blur higher and higher, or add and increase the state "dizzy" so the player is forced to sleep sooner or later as orientation becomes impossible.