WECoyote99
Veteran
- Messages
- 58
- Reaction score
- 4
- Points
- 783
So I decided to add Dogs to all the maps in BO2 and I did but cant change the Ai or model to Zombie wolf any ideas
because the wolf is not in all maps...So I decided to add Dogs to all the maps in BO2 and I did but cant change the Ai or model to Zombie wolf any ideas
Use the ternary operator, It'll save spaceif(level.script == "zm_transit")
{
// set model to wolf here, because its in the map tranzit
}
else if(level.script=="tomb_zm")
{
// the dog is not in this map, so you would put another model, better still only put the function in the map transit so theirs no confusion.
}
self.StoreModel = (level.script == "zm_transit")?"enter_wolf_model_here":"wolf_doesnt_exist_enter_different_model";