Some fun with plugins.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@9125 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
7b8ecfecfb
commit
76bcc5ae88
19
test/cfanim
19
test/cfanim
|
@ -4,7 +4,7 @@ width 20
|
||||||
height 20
|
height 20
|
||||||
msg
|
msg
|
||||||
Created: 2008-05-10 Nicolas Weeger
|
Created: 2008-05-10 Nicolas Weeger
|
||||||
Modified: 2008-05-12 Nicolas Weeger
|
Modified: 2008-05-20 Nicolas Weeger
|
||||||
endmsg
|
endmsg
|
||||||
end
|
end
|
||||||
arch pstone_1
|
arch pstone_1
|
||||||
|
@ -1201,6 +1201,23 @@ arch pstone_1
|
||||||
x 14
|
x 14
|
||||||
y 7
|
y 7
|
||||||
end
|
end
|
||||||
|
arch conjurer
|
||||||
|
x 14
|
||||||
|
y 7
|
||||||
|
stand_still 1
|
||||||
|
arch event_say
|
||||||
|
title Python
|
||||||
|
slaying /test/cfanim.py
|
||||||
|
msg
|
||||||
|
@match *
|
||||||
|
hmmm
|
||||||
|
endmsg
|
||||||
|
end
|
||||||
|
arch event_user
|
||||||
|
title Animator
|
||||||
|
slaying /test/cfanim.conjurer
|
||||||
|
end
|
||||||
|
end
|
||||||
arch pstone_1
|
arch pstone_1
|
||||||
x 14
|
x 14
|
||||||
y 8
|
y 8
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
[Config]
|
||||||
|
name= CFAnim test
|
||||||
|
victimtype= object
|
||||||
|
victim= who
|
||||||
|
unique= no
|
||||||
|
always_delete= no
|
||||||
|
paralyzed= yes
|
||||||
|
time_representation= second
|
||||||
|
errors_allowed= yes
|
||||||
|
verbose= no
|
||||||
|
animation= Animation
|
||||||
|
invisible= no
|
||||||
|
wizard= no
|
||||||
|
[Conjurer_1]
|
||||||
|
1 say First animation script
|
||||||
|
[Conjurer_2]
|
||||||
|
1 say Second animation script
|
|
@ -0,0 +1,4 @@
|
||||||
|
import Crossfire
|
||||||
|
|
||||||
|
#Crossfire.WhoAmI().Say('message is %s'%Crossfire.WhatIsMessage())
|
||||||
|
Crossfire.WhoAmI().Event(Crossfire.WhoAmI(), Crossfire.WhoAmI(), Crossfire.WhatIsMessage(), 0)
|
Loading…
Reference in New Issue