Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Questions for .hack//OHR's scripting

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Setu_Firestorm
Music Composer




Joined: 26 Mar 2003
Posts: 2566
Location: Holiday. FL

PostPosted: Thu Apr 03, 2003 2:39 am    Post subject: Questions for .hack//OHR's scripting Reply with quote

I've got a question.

When you run into a battle, I want to take the party to a smaller map made specifically for a battlefied. Is there any way to script something to where the game will remember the place you were standing before you entered the battlefield so that it can return you there afterward?
_________________


Facebook: http://www.facebook.com/georgerpowell
Newgrounds: http://setu-firestorm.newgrounds.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Blazes Battles Inc.
I'm a chimp, not a




Joined: 25 Jan 2003
Posts: 505

PostPosted: Thu Apr 03, 2003 3:33 am    Post subject: Reply with quote

include, plotscr.hsd
include, filename.hsi

global variable (herox)
global variable (heroy)
global variable (herom)

define script (0,enterbattle)
define script (1,afterbattle)

script, enterbattle, begin
set variable (herox,hero x (me))
set variable (heroy,hero y (me))
set variable (herom,current map)
teleport to map (#,#,#)
end

script, afterbattle, begin
teleport to map (herom,herox,heroy)
end

Big grin

Of course, 'herom' isn't needed unless there will be any instance where the character goes to the same battle from two different maps.
_________________
Preserve OHR history! Do it for the children!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Setu_Firestorm
Music Composer




Joined: 26 Mar 2003
Posts: 2566
Location: Holiday. FL

PostPosted: Fri Apr 04, 2003 9:17 pm    Post subject: Reply with quote

Thanks a bunch! I feel silly saying this, but I'm a real plotscripting idiot, so I'm taking quite a stretch here, but >Big grin "Hey! I can do it!"
_________________


Facebook: http://www.facebook.com/georgerpowell
Newgrounds: http://setu-firestorm.newgrounds.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group