mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-02 03:15:52 -04:00
Fixed Mobile Templates to use conversations
Created Rebel Recruiter and Imperial Recruiters mobile templates. Changed recruiter static spawns to use Mobile Template Fixed correct cell for rebel recruiter in Anchorhead
This commit is contained in:
@@ -107,8 +107,6 @@ public class SpawnService {
|
||||
creature.setLootGroups(mobileTemplate.getLootGroups());
|
||||
|
||||
creature.setOptionsBitmask(mobileTemplate.getOptionsBitmask());
|
||||
if (mobileTemplate.getConversationFileName().length()>0)
|
||||
creature.setAttachment("conversationFile",mobileTemplate.getConversationFileName());
|
||||
|
||||
creature.setFaction(mobileTemplate.getFaction());
|
||||
creature.setFactionStatus(mobileTemplate.getFactionStatus());
|
||||
@@ -211,7 +209,11 @@ public class SpawnService {
|
||||
|
||||
AIActor actor = new AIActor(creature, creature.getPosition(), scheduler);
|
||||
creature.setAttachment("AI", actor);
|
||||
creature.setAttachment("radial_filename", "npc/mobile");
|
||||
if (mobileTemplate.getConversationFileName().length()>0){
|
||||
creature.setAttachment("radial_filename", "object/conversation");
|
||||
creature.setAttachment("conversationFile", mobileTemplate.getConversationFileName());
|
||||
}
|
||||
else creature.setAttachment("radial_filename", "npc/mobile");
|
||||
actor.setMobileTemplate(mobileTemplate);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user