Dynamite: Actmap to proplist

stable-5.2
Nicolas Hake 2009-07-22 05:59:21 +02:00
parent 15e00a5cfe
commit c7b8eee8b4
2 changed files with 16 additions and 10 deletions

View File

@ -1,10 +0,0 @@
[Action]
Name=Fuse
Procedure=FLOAT
NextAction=Fuse
Length=1
Delay=1
FacetBase=1
Sound=Fusing
StartCall=Fusing

View File

@ -99,3 +99,19 @@ private func Fusing() {
else if(GetActTime() > 140)
Explode(18);
}
protected func Definition(def) {
SetProperty("ActMap", {
Fuse = {
Prototype = Action,
Name = "Fuse",
Procedure = DFA_FLOAT,
NextAction = "Fuse",
Length = 1,
Delay = 1,
FacetBase = 1,
Sound = "Fusing",
StartCall = "Fusing"
}
}, def);
}