Is that supposed to spawn the item? I think it's just Item.NewItem, that's what I use anyway and it works. So I guess like that:
Item.NewItem((int)npc.position.X, (int)npc.position.Y, npc.width, npc.height, mod.ItemType("OrcaFin"));
Well, first place you gotta look is gore-editting mods that you have enabled, which might be just about any mod that has custom NPCs I suppose. Again I'd recommend trying the mods one by one to see if any of them cause trouble. I'd also recommend using a new world and character for this, since...
Well I guess you could try to disable all mods and then turn them on one by one to see which one is problematic? If none of them alone crashes your game, then maybe some of your mods aren't compatible?
Is there a way to see if a sound (specifically music) finished playing? As in - to catch the moment in which it starts playing again from the beginning? In order to, for example, change track.
Hey so I've been away from modding for a while and maybe I'm just ignorant but... I can't find any documentation on the altTextures field? I see the ExamplePerson have it filled with a string value but I don't see it used anywhere. What do I do with it? Can I - for example - have the NPC use...
I'm not quite sure what to do though. When one player turns the jukebox on, its animation changes - but again only for the one player...
This is what I've got if it's of any use:
public class Jukebox_Tile : ModTile
{
public static bool inUse = false;
public static bool...
Hey, does anybody know how to make a variable that would be static for all the players in a multiplayer game? I made a jukebox which has a bool variable showing if it is playing or not, but it's only true for the one person who turns it on. Can I make it true for all the other players as well...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.