Question about GetIsEncounterCreature();
NeverwinterWights
Member Posts: 339
I'm assuming that GetIsEncounterCreature(); simply checks for a variable set on all creatures that were spawned with the default encounter triggers. Does anyone know what this variable is? I want to add it to creatures spawned by my own supplemental spawn system.
Thanks in advance.
Thanks in advance.
0
Comments
Good suggestion. Thank you. Sadly it doesn't look like it's going to be as simple as a variable. Nothing in the JsonDump VarTable seems to pertain to being an encounter creature.
I know it isn't the answer to your question but it would work.
Yep. That was the plan if the encounter var thing didn't work out.
The creature from an encounter has this: and the creature just placed in the toolset has this: That '2130706432' might be a pointer to OBJECT_INVALID, where '1639' similarly points to the encounter object. You could manipulate your creature with JSON functions before creating it and see if that changes the return of GetIsEncounterCreature() to TRUE.
I didn't see anything else that looked like it was related to encounters.
Ah interesting. Thank you for taking the time to look into that. Still trying to figure out the JSON stuff so this might be out of my current scope of capabilities.