1
Mega Tokyo AGI Archive / Re: Dave's Quest (and f*ck quest 2)
« on: July 02, 2001, 01:52:08 AM »
Hey, where will the AGI fans, and myself be able to get Dave's Quest and F*ck Quest 2 when completed?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
It works! Thanks!
Good! Doan's idea worked! Thanks!
I thought $4000 was yellow!
/******************************************************************************/
(include "sci.sh")
(include "game.sh")
/******************************************************************************/
(script 2)
/******************************************************************************/
(use "controls")
(use "cycle")
(use "door")
(use "feature")
(use "game")
(use "inv")
(use "main")
(use "obj")
/******************************************************************************/
(instance public rm002 of Rm
(properties
picture scriptNumber
north 0
east 3
south 0
west 0
)
(method (init)
(super:init())
(self:setScript(RoomScript))
(aDoor:init())
(aPasserby:
setScript(passingBy)
xStep(3)
setPri(-1)
ignoreActors()
illegalBits(0)
init()
hide()
) // #1
(switch(gPreviousRoomNumber)
(case 3
(send gEgo:
posn(310 137)
loop(1)
)
)
(default
(send gEgo:
posn(141 117)
loop(2)
)
)
)
SetUpEgo()
(send gEgo:init())
)
)
/******************************************************************************/
(instance RoomScript of Script
(properties)
(method (doit)
)
(method (handleEvent pEvent)
(super:handleEvent(pEvent))
/*****************************************
* Handle the possible said phrases here *
*****************************************/
(if(Said('look'))
Print("You are outside.")
)
(if(Said('open/door'))
(aDoor:open())
)
(if(Said('close/door'))
(aDoor:close())
)
)
)
/******************************************************************************/
(instance aDoor of Door
(properties
x 145
y 106
view 10
entranceTo 1
roomCtrl $4000
)
)
/**************************************************************************/
(instance aPasserby of Act(properties x 0 y 137 view 1 loop 0))
/**************************************************************************/
(instance passingBy of Script
(properties)
(method (changeState newState)
= state newState
(switch (state)
(case 0 (aPasserby:setPri(3)hide()) = seconds Random(3 8))
(case 1 (aPasserby:show()view(1)setPri(-1)setLoop(0)posn(0 137)setCycle(Walk)setMotion(MoveTo 320 137 passingBy)))
(case 2 (aPasserby:hide()) = seconds Random(2 6))
(case 3 (aPasserby:show()view(2)setPri(-1)setLoop(0)posn (0 137)setCycle(Walk)setMotion(MoveTo 320 137 passingBy)))
(case 4 (aPasserby:hide()) = seconds Random(2 10))
(case 5 (aPasserby:show()view(3)setPri(-1)setLoop(0)posn (0 137)setCycle(Walk)setMotion(MoveTo 320 137 passingBy)))
(case 6 (aPasserby:setPri(11)hide()) = seconds Random(2 6))
(case 7 (aPasserby:show()view(4)setPri(-1)setLoop(0)posn (0 137)setCycle(Walk)setMotion(MoveTo 320 137 passingBy)))
(case 8 (self:changeState(0)))
) // switch end
) // end method
) // end instance
Help plz!
SMF 2.0.19 |
SMF © 2021, Simple Machines
Simple Audio Video Embedder
Page created in 0.023 seconds with 15 queries.