Script question

SkelApe

Member
Elder
Joined
Nov 10, 2007
Messages
651
Does anyone know the "OBJECT_TYPE" for creating an embellishment within a script? I know the one for creating a villager is "SCRIPT_OBJECT_TYPE_VILLAGER", but i dont know which it is for an embellishment. For example:
Code:
create SCRIPT_OBJECT_TYPE_VILLAGER VILLAGER_INFO_SIGVED at {   }
Anyone know what it is for embellishments? I know it isnt EMBELLISHMENT, because it osnt listed in the ObjectTypes enum. so, it isnt this:
Code:
create SCRIPT_OBJECT_TYPE_EMBELLISHMENT
I have included the ObjectTypes enum so you can have a look at what it might be. There is an embellishment info enum, so i know it can be done.
 
It's not a SCRIPT_OBJECT but a MOBILE_STATIC or the equivelent. I'm taking a look into it.[br][br]Added: [time]1229470502[/time]Hmm, it has been a while since I looked at BW2 scripting.

Have you tried
Code:
create EMBELLISHMENT_INFO EMBELLISHMENT_INFO_AZTEC_FOUNTAIN at { }

or
Code:
create EMBELLISHMENT EMBELLISHMENT_INFO_AZTEC_FOUNTAIN at { }
 
Sorry Kays, neither of those worked!
Still looking for an answer.
 
Hey. The script compiler can be a little tricky with some object commands such as looking for certain things not listed. I can take a little look at it later on and try make something going.
 
Ah problem solved; it turned out to be
Code:
create SCRIPT_OBJECT_TYPE_EMBELLISHMENT EMBELLISHMENT_INFO_NORSE_STATUE at
 
Back
Top