ID:267496
 
I've been studying my codes and the random monster appearances and i have yet to figure y a slime appears around Sometown and not.. Theothertown. Also i want to know how i can make it so that the new monsters i made can be thrown into the other world areas and not the first world area...oh yeah.. and i need alot of help with bosses like making an invis icon that triggers a boss to appear or a visible figure that u can talk too and he talks back and then you fight
for the boss one, you can use a var, say X, for a switch and not use the random encounter, but rather skip to the main combat thing

var/turf/X //the switch
turf/bossturf
usr << "(put the text here)"
var/monster = /mob/monster/bossmonster // put the type of the monster here
maincombat(usr, monster) // replace "maincombat" with your main combat proc (the one where you chose to fight, defend, cast a spell, etc.

Note: this is a guess
In response to CoWdUdE7
CoWdUdE7 wrote:
for the boss one, you can use a var, say X, for a switch and not use the random encounter, but rather skip to the main combat thing

var/turf/X //the switch
turf/bossturf
usr << "(put the text here)"
var/monster = /mob/monster/bossmonster // put the type of the monster here
maincombat(usr, monster) // replace "maincombat" with your main combat proc (the one where you chose to fight, defend, cast a spell, etc.

Note: this is a guess

No kidding. Please don't just post random code, because it doesn't help anyone. We all appreciate it when people are helpful, but this kind of thing is just destructive.

For one thing, you have to actually put code like usr << "..." in a verb for it to work. And I say in a verb, because putting usr in a proc is not to be done lightly.

Lummox JR