Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: Darco Newsgroups: scee.yaroze.freetalk.english Subject: Re: NPC Scripting, Re: An adventure project Date: Mon, 07 Jun 1999 20:30:45 -0400 Organization: SCEA News Server Lines: 38 Message-ID: <375C6435.6F43E4B4@boone.net> References: <3759079a.1869875@www.netyaroze-europe.com> <375C61CE.2183A46D@boone.net> Reply-To: darco@bigfoot.com NNTP-Posting-Host: 216.88.25.169 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (Win95; U) To: darco@bigfoot.com This script is a little bit more helpful in showing you the capabilities of the scripting engine: RSL #Example RSL Code #-- Chick on the corner ---------------------------------------------- # The ~ANM3 code would make the chick wink at the player. # Either way the player answers the question, it responds "Don't # Flatter Yourself", but only if the player chooses yes does she blink. ^NPC 1 Is this chick fine as hell?~YON~ANM3~EOBDon't flatter yourself!~PAU~END ^XXX #-- Bum in front of the inn ------------------------------------------ ^NPC 2 Wana know a secret?~YON~NXTSo do I...~PAU~END~EOB~NXT.~WAT1.~WAT1.~WAT1 You weirdo!~PAU~END ^XXX #-- Tresure Chest Script --------------------------------------------- ^NPC 3 ~IFS10 8...Empty~PAU~END ~EOBFound Excalabur!~PAU~SET10 8~GIV7~END ^XXX #-- Well in courtyard ------------------------------------------------ ^NPC 4 Drop a coin in well?~YON~NXT .~WAT1~NXT .~WAT1~NXT .~WAT1~NXT Plop!~PAU~END ~EOB ~NXTAye, lets get a beer instead!~PAU~END ^XXX 'Darco