  | 
				Castle Paradox
    
				 | 
			 
		 
		 
	
		| View previous topic :: View next topic   | 
	 
	
	
		| Author | 
		Message | 
	 
	
		. Guest
 
 
 
 
 
 
  | 
		
			
				 Posted: Sat Jul 26, 2003 6:26 pm    Post subject: re: i have problems | 
				     | 
			 
			
				
  | 
			 
			
				Is there a way I can import two .hs files or plotscripts without deleting the others? These are my two plotscripts.
 
 
include, plotscr.hsd
 
include, X_MEN.hsi
 
 
define script (3,bomb,none)
 
 
script, bomb, begin
 
suspend player
 
camera follows NPC (7)
 
show text box (91)
 
wait for text box
 
walk NPC (7,west,1)
 
camera follows hero (0)
 
walk hero (me,north,1)
 
resume player
 
set tag (33,off)
 
end
 
 
 
include, plotscr.hsd
 
include, X_MEN.hsi
 
 
define script (2, killer, none)
 
script, killer, begin
 
suspend player
 
walk NPC (1,north,4)
 
wait for NPC (1)
 
walk NPC (1,east,2)
 
wait for NPC (1)
 
set NPC direction (1,south)
 
wait (4)
 
show text box (6 
 
wait for text box
 
resume player
 
end
 
 
 
Thankyou. Please help frustrated! Urgent   
 
 
Also, how could i do a battle where a bad guy takes a good guy captured
 
and evry once in a while this bad guy hurts the hostage and you have to defeat the bad guy but if the hostage dies you die.
 
 
Thanks    please help urgent   | 
			 
		  | 
	 
	
		| Back to top | 
		 | 
	 
	
		  | 
	 
	
		Setu_Firestorm Music Composer
 
 
  
  Joined: 26 Mar 2003 Posts: 2566 Location: Holiday. FL
  | 
		
			
				 Posted: Sat Jul 26, 2003 8:03 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Actually, you can put all your scripts into one .hs file. Just do it like this.
 
 
 	  | Code: | 	 		  include, plotscr.hsd
 
include, yourgame.hsi   #optional
 
 
define script (1,First Script,0)
 
define script (2,Next Script,0)
 
 
script, First Script, begin
 
#commands
 
end
 
 
script, Next Script, begin
 
#commands
 
end | 	  
 
 
And so forth. Save it as one .hs file with all those scripts in it. That's how you do that. You can only import one .hs file anyway.
 
 
It's okay. I once wondered the same thing when I first started using OHR.
 
 
As for your second question, if you want to do that, it'd be quite tricky. You may be able to rig something like that up, but I'd let Cube tell you, `cause he's more adept to this sort of thing. _________________
  
 
 
Facebook: http://www.facebook.com/georgerpowell
 
Newgrounds: http://setu-firestorm.newgrounds.com | 
			 
		  | 
	 
	
		| Back to top | 
		 | 
	 
	
		  | 
	 
	
		MultiColoredWizard Come back, baby! The Breastmaster
 
  
  Joined: 01 Feb 2003 Posts: 1232
 
  | 
		
			
				 Posted: Sat Jul 26, 2003 8:15 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| Easy, no plotscripting reqiured. All you have to do is make the Hostage-Taking enemy have an attack that's supposed to hit other enemies(look up 'ally')with an >element<, and then have a Hostage enemy, that, on a >element< death, spawns an invisible enemy with 999 speed, 999 attack power, etc. and that takes all the max damage and such without showing the damage. | 
			 
		  | 
	 
	
		| Back to top | 
		 | 
	 
	
		  | 
	 
	
		planethunter Lost In Emotion
 
 
  
  Joined: 07 Jul 2003 Posts: 258 Location: Éire
  | 
		
			
				 Posted: Sat Jul 26, 2003 11:03 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				I reckon most people who dive in head first into the ohr, and are new probably made that same mistake. I know I did and it's a bugger! _________________ ~PH
 
  | 
			 
		  | 
	 
	
		| Back to top | 
		 | 
	 
	
		  | 
	 
	
		 | 
	 
 
  
	 
	    
	   | 
	
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
 
  
		 |