loadani2. failure: currentid() only gives the editor id, not the definition id wich is required for animate
3. failure: animate only works with units.
Scripts
Scripting Questions
loadani
currentid gives you the map id, and that's exactly what
animate wants as first parameter.
type!
### Satis Developing
id=500
name=Satis Developing
group=sign
icon=gfx\desk.bmp
model=gfx\gfx_anw\Satis_dev.b3d
health=100
mat=wood
script=start
on:preload {
loadani "500",2,6;
}
on:start {
animate currentid(),2,6,6,1;
}
script=end
script=start
	process "Crafting Iron Hammer",10000;
	timer "self",9000,1;
on:timer {
speech "positive";
	 event "hammercombi",0,0;
	 msg "I successfully made a better hammer",3;
	 msg "Stone Hammer is broken",4;
	}
script=end
on:combinationhammer {
speech "positive";
event "hammercombi",0,0;
msg "I successfully made a better hammer",3;
msg "Stone Hammer is broken",4;
}
msgbox ??
msg_extend and good too this
msg_replace
msgbox ?
msgbox command, but it wont do :S
msgbox with the
button command. you have to write it AFTER the msgbox command.
dialogue instead of
msgbox which makes it much easier for you