AddMultiClass( CLASS_TYPE_JEDIGUARDIAN, GetObjectByTag (p_jax));
whats wrong with this script? i think its somthing to do with AddMultiClass part of the script.
AddMultiClass( CLASS_TYPE_JEDIGUARDIAN, GetObjectByTag (p_jax));
whats wrong with this script? i think its somthing to do with AddMultiClass part of the script.
Well, you should quote p_jax. That's the only wrong thing I see at the moment.
I got one with an npc not spawning. I put the xyz wasnt sure about the orientation thing was for. I wanted the npc to spawn on korriban but when I tryied it he wasnt there.
It still wont compile and i thought i wasn't suppose to quote it?
Revnant: the orientation is nessary... i think its the way you want him to face but I'm not positive.
EDIT: I fixed one problem but I'm experiencing a problem with CLASS_TYPE_JEDIGUARDIAN
EDIT 2:Revnant are you using the script generator?
Irrelevant now since you got what you needed from your other thread (
http://www.lucasforums.com/showthread.php?t=192130), but for anyone else;
AddMultiClass is looking for an integer.
From nwscript.nss
// 389: This allows you to add a new class to any creature object
void AddMultiClass(int nClassType, object oSource);
I am using the generator since I got lost in one tutorial that looks like its garanteed to work. I'm planning on asking inyri for help since she did what I want to do with Kay.
Irrelevant now since you got what you needed from your other thread (
http://www.lucasforums.com/showthread.php?t=192130)
Agreed, closing this one...
canderis, please do not create multiple threads on the same/similar topics. Thanks.