something I put together by myself , quite simple but it works. Looks like this :
Code:
(*Hier Koch prootchereien rein und etwas meckern*)
wait(5)
randomnum (kochaktion ; 5)
randomnum (kochwarten ; 8)
setnum (kochwarten ; +2)
if_num (kochaktion ; 1)
setchar (koch ; hacken)
if_num (kochaktion ; 2)
setchar (koch ; olala)
if_num (kochaktion ; 3)
setchar (koch ; würzen)
if_num (kochaktion ; >3)
{
setchar (koch ; prootchen ; prootchen; prootchen)
playsound (timm_prootched ; [vol_sound])
wait(1)
}
wait ([kochwarten])
Code:
setnum (px ; [mousex])
setnum (px ; [px] - [ox])
ifnot_num (pilzx2 ; 1)
{
if_num (px ; <33)
ifnot_num (pilzx1 ; 1)
{
setnum (doslide ; 55)
setobj (zeigefinger ;3)
}
if_num (px ; >32)
ifnot_num (pilzx1 ; 2)
{
setnum (doslide ; 99)
setobj (zeigefinger ;6)
}
}
Code:
on (mouse)
showinfo (DJ Marxloh ; false)
on (click)
{
walkto (self ; 27 ; 16 ; 4)
timer(0,2)
walkto ([other] ; 15 ;18 ; 2)
}
on (look)
{
minicut(donthide)
speech (tigger ; Der DJ welcher diese "Party" am laufen hält. ; tigger_dj_look)
speech (neger ; Kann gar nicht verstehen wieso Frauen immer auf die DJs abfahren. ; neger_dj_look)
}
on (talk)
{
stopfunction (djmarx)
lookto (DJMarxloh ; 3)
textscene (djtalk)
}
When i first started with this it just had the simpliest commands. With time i added more and more functions to it so today this is not what you would expect of a traditional scripting language.
You can take a look at the manual if you like :
http://www.adventure-creator.com/docs/en/index.htm
Bookmarks