ID:158978
 
Hi, i am trying to make a respawn system and I am wondering, how do i spawn a mob without knowing it's direct type?(the type of the mob is supposed to be passed as an arg, but i can't seem to make a new mob based off of that type.)
proc/SpawnMob(type, loc) new type(loc)


Just make sure what you're passing into the proc is valid(you could validate the information yourself, of course).
In response to ANiChowy
thanks.