Register for your free account! | Forgot your password?

You last visited: Today at 15:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



NPC Spawning

Discussion on NPC Spawning within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
NPC Spawning

Hi elitepvpers,

I am trying to spawn an NPC (Not and Monster)

For example
i have this

Code:
MoverProp* pMoverProp = prj.GetMoverProp(MI_MAFL_LOSHA);
	if (pMoverProp)
	{
		CObj* pObj = CreateObj(D3DDEVICE, OT_MOVER, pMoverProp->dwID);
		if (NULL == pObj)
			return;

		pObj->SetPos(CRiftController::Instance()->GetMoverPosition(nMoverType));
		pObj->InitMotion(MTI_STAND);
		pObj->UpdateLocalMatrix();
		((CMover*)pObj)->m_bActiveAttack = TRUE;
		((CMover*)pObj)->AddItToGlobalId();
		pWorld->ADDOBJ(pObj, FALSE, CRiftController::Instance()->m_uID);
	}
It wont cut it. is it because its an NPC and not an monster? Altough monsters are also NPC's xD.

Or is it an OBJ type?

With kind regards
raventh1984 is offline  
Old 01/25/2017, 13:42   #2
 
elite*gold: 0
Join Date: Mar 2008
Posts: 333
Received Thanks: 284
Look for II_SYS_SYS_SCR_CUSTODY2 and adapt it
Nortix is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Mob Spawning
01/02/2016 - Cabal Private Server - 5 Replies
Hello communty, Can one tell me how I can create in the game mobs. wenns goes with the id's Thanks in advance than in! MFG: <ZeroCool> GERMAN: Hallo kann mir vielleicht einer sagen wie ich im game mob spawne? und hat vielleicht jemand die id´s Danke als im vorraus."!"
[Selling] ArmA 3 Spawning Service - VERY CHEAP - MONEY SPAWNING / WEAPONS
02/16/2015 - DayZ Trading - 0 Replies
ArmA 3 Spawning Service - VERY CHEAP - MONEY SPAWNING / WEAPONS Tell me what you want, and ill say a price. I am very cheap.
Box-Spawning
09/19/2012 - DayZ - 34 Replies
So, da ja hier gerade wieder viele nach Items lechzen und ich nicht einsehe, warum man dafür Geld ausgeben sollte, werde ich heute Abend bis 23 Uhr Leuten eine Box spawnen. In dieser Box ist JEDES Item 50x vorhanden, es wäre also schön, wenn ich vllt immer 2-3 Auftraggeber gleichzeitig bearbeiten könnte. Nachdem ihr euch alles was ihr benötigt besorgt habt, sprenge ich die Box mit Scatchel Charges. Wenn es alles gut geht, wiederhole ich das regelmäßig, aber nur wenn ich Lust und Zeit...
[HELP]Spawning a NPC
05/24/2010 - CO2 Private Server - 3 Replies
Hey guys I was wondering if you can help me to spawn a single NPC like this... I'm using LOTF 5017... I'm trying to add Blue Mouse Quest and spawn the Blue Mouses.... What I know: Spawn the mob(s) at a certain time after click. What I don't know:
Need Spawning
12/19/2009 - Dekaron - 13 Replies
Hi Guys I Need Spawning Code :confused:



All times are GMT +2. The time now is 15:56.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.