Spazmo
Erudite
Tags: Beyond Divinity; Larian Studios
<A HREF="http://rpgvault.ign.com" target="_blank">RPG Vault</a> have yet again <a href=http://rpgvault.ign.com/articles/437/437790p1.html>put up an article</a> about the upcoming <a href=http://www.larian.com/riftrunner/>Riftrunner</a>. This one provides insight into Riftrunner's scripting system.
<br>
<br>
<blockquote>/* When the hero enters the prison guard region, the game is requested to start a scene. The region is created in the game's editor, for example a room. Before starting the actual scene, we first need to let the game know we want to run a scene, so for example, the interface can be disabled. */
<br>
IF NpcEntersRegion(NPC_Hero,REGION_Prison_Guard)
<br>
THEN RequestScene(SCENE_Prison_Guard);
<br>
<br>
/* The SceneStarted() event is thrown by the game after RequestScene() has been called. It informs Osiris the game allows it to start a scene. After the scene has started, we initiate a camera movement towards the NPC in question. */
<br>
IF SceneStarted(SCENE_Prison_Guard)
<br>
THEN CameraToNpc(NPC_Prison_Guard,"Prison Guard");</blockquote>
<br>
<br>
So apparently, Belgians code in English. Oh, and look out for our Riftrunner dev chat <b>Tuesday at 8 PM in #rpgcodex on irc.gamesnet.net</b>
<br>
<br>
Spotted at <a href="http://www.rpgdot.com">RPGDot</a>
<A HREF="http://rpgvault.ign.com" target="_blank">RPG Vault</a> have yet again <a href=http://rpgvault.ign.com/articles/437/437790p1.html>put up an article</a> about the upcoming <a href=http://www.larian.com/riftrunner/>Riftrunner</a>. This one provides insight into Riftrunner's scripting system.
<br>
<br>
<blockquote>/* When the hero enters the prison guard region, the game is requested to start a scene. The region is created in the game's editor, for example a room. Before starting the actual scene, we first need to let the game know we want to run a scene, so for example, the interface can be disabled. */
<br>
IF NpcEntersRegion(NPC_Hero,REGION_Prison_Guard)
<br>
THEN RequestScene(SCENE_Prison_Guard);
<br>
<br>
/* The SceneStarted() event is thrown by the game after RequestScene() has been called. It informs Osiris the game allows it to start a scene. After the scene has started, we initiate a camera movement towards the NPC in question. */
<br>
IF SceneStarted(SCENE_Prison_Guard)
<br>
THEN CameraToNpc(NPC_Prison_Guard,"Prison Guard");</blockquote>
<br>
<br>
So apparently, Belgians code in English. Oh, and look out for our Riftrunner dev chat <b>Tuesday at 8 PM in #rpgcodex on irc.gamesnet.net</b>
<br>
<br>
Spotted at <a href="http://www.rpgdot.com">RPGDot</a>