Community

SCI Programming => Mega Tokyo SCI Archive => Topic started by: XFan2003 on March 07, 2003, 04:39:44 PM

Title: Can Someone Help
Post by: XFan2003 on March 07, 2003, 04:39:44 PM
I got a question about the props. I dont quite get the tutorial. If someone can put a larger amount of the script so i can see the code in context. Any advice would help.

Thanx
Tom
Title: Re:Can Someone Help
Post by: XFan2003 on March 08, 2003, 10:29:57 AM
Anyone?...lol...
Title: Re:Can Someone Help
Post by: Eigen on March 08, 2003, 02:24:28 PM
Just add to the end after all the other code:

(instance Something of Prop/Act/Door
(properties
view
x number
y number
loop number
cel number
)
)

And after (super:init())
                (self:setScript(RoomScript))
add

(Something: init()
setCycle(Fwd) //if you want it to cycle
)

See code.txt for example script.



-Eigen
Title: Re:Can Someone Help
Post by: XFan2003 on March 08, 2003, 05:30:11 PM
Thanx alot...:) now i can finally finish the tutorial


Tom