Jump to content

Home

Populate Function help


Scorge

Recommended Posts

Please someone help me with this script, I think I did everything right, then when I add it to a module on OnEnter or OnHeartBeat, it doesn't even f****** work, I spent 2 hours on this and nothing......

 

Show spoiler
(hidden content - requires Javascript to show)
#include "populate"

 

void main() {

string Tag = "n_repsold" ;

//Change n_com1 for the NPC's tag you want to spawn

Populate(7, -15.03063, -6.50566, 104.69376, 71.85457, RepSold);

//10 = the number of NPCs, 33 = minimum X coordinate, 54 = maximum X coordinate

//-39 = minimum Y coordinate, 23 = maximum Y coordinate

 

}

 

And yes I put it in Override and the .mod file. I have the .utc for the npc to spawn too. But right now im pretty pissed off.

 

MrObiWan + Scripting = Universal Destruction

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...