DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • April 22, 2018, 01:00:51 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: random encounters  (Read 2576 times)
0 Members and 1 Guest are viewing this topic.
Hex
Guest
« on: November 03, 2004, 09:21:27 AM »

can anyone help me figure out a way to include encounters with random monsters? I'm writing a module where I want to include random fights in 3 separate locations. I was trying to make this random battle in a function, but when I triggered the event, I still get all my custom navs for the module within the fight, so when I'm attacked I can still "return to village" to avoid a fight.. any ideas?

the function is called with a simple modulename_MyRandomEncou nter();

and the line is function modulename_MyRandomEncou nter(){
//etc etc..
}

am I supposed to be returning a value?

I've also tried sticking the entire random encounter code in place of the call to the function, but that does exactly the same thing.
Logged
WebPixie
Guest
« Reply #1 on: November 03, 2004, 10:04:44 AM »

maybe the blocknav(""); would work? Put that in the area when they are fighting and it should keep that nav from showing.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Please take the time to read the FAQ and browse the DragonPedia

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
28 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search