script line creating lions?

SkelApe

Member
Elder
Joined
Nov 10, 2007
Messages
651
I attempt to create a wolf, or cow, or ape etc and somehow end up with a lion :s
for example:
Code:
MyCreature = create CREATURE_TYPE_WOLF at {MyCreaturePosition} using only alignment good neutral evil
set player 0 creature to MyCreature
set creature MyCreature happiness to maximum
set creature MyCreature CREATURE_SCRIPT_TRANSITIONAL_ATTRIBUTE_TYPE_SIZE 0.5 time -1
set creature MyCreature CREATURE_SCRIPT_TRANSITIONAL_ATTRIBUTE_TYPE_STRENGTH 0.5 time -1
set creature MyCreature CREATURE_SCRIPT_TRANSITIONAL_ATTRIBUTE_TYPE_FATNESS 0.3 time -1
set creature MyCreature CREATURE_SCRIPT_TRANSITIONAL_ATTRIBUTE_TYPE_ALIGNMENT 0 time -1
]

This should create a wolf if im not mistaken... but it creates a lion. It is the same for all of the other creatures i attempt to create {except ofcourse, the lion :P)
Can anyone offer an explanation?

Oh by the way, i should be releasing 3 scripts that i have wrote in the past few months. They are all fun challenges. More info soon!
 
See if this works.

Code:
MyCreature = create SCRIPT_OBJECT_TYPE_CREATURE CREATURE_TYPE_WOLF at {}
set MyCreature DEVELOPMENT_PHASE_FULLY_MATURE development
set creature MyCreature CREATURE_SCRIPT_TRANSITIONAL_ATTRIBUTE_TYPE_SIZE 1.0
 
Ah that worked. Thanks Kays, i didnt realise a creature was classed as a script object.
 
For your creature, you can use "create CREATURE_TYPE_WOLF at ". But any other creatures are script objects.
 
Back
Top