1
Mega Tokyo SCI Archive / Re:SCI Studio 2.1 Released!
« on: June 24, 2002, 09:04:46 PM »
Wait until actor is in the first location:
(local
hiihtaja
kierros1
)
(instance alku1 of Act
(properties
y 95
x 40
view 1
)
(method (doit)
(super:doit())
(if (send hiihtaja:isStopped())
(if (== kierros1 1)
(send hiihtaja:setMotion(MoveTo 40 93))
= kierros1 0
)
(else
(if (== kierros1 0)
(send hiihtaja:setMotion(MoveTo 300 106))
= kierros1 1
))
)
)
)
---
in Rm:init:
= hiihtaja alku1
(alku1:
setCycle(Walk)
setMotion(MoveTo 400 105)
setStep(1 1)
init()
)
---
Did this help you?
(local
hiihtaja
kierros1
)
(instance alku1 of Act
(properties
y 95
x 40
view 1
)
(method (doit)
(super:doit())
(if (send hiihtaja:isStopped())
(if (== kierros1 1)
(send hiihtaja:setMotion(MoveTo 40 93))
= kierros1 0
)
(else
(if (== kierros1 0)
(send hiihtaja:setMotion(MoveTo 300 106))
= kierros1 1
))
)
)
)
---
in Rm:init:
= hiihtaja alku1
(alku1:
setCycle(Walk)
setMotion(MoveTo 400 105)
setStep(1 1)
init()
)
---
Did this help you?
