wika_woo 182 Posted May 27, 2007 Hi there, I know this may sound strange but i am interested in spawning a bird in a place i want it to be spawned. How would one do so?.. What type of unit would it be in?.. Thanks a mil. Share this post Link to post Share on other sites
Junker 0 Posted May 27, 2007 use createunit and one of these names <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> SeaGull Hawk DragonFly Butterfly HouseFly HoneyBee Mosquito Share this post Link to post Share on other sites
wika_woo 182 Posted May 27, 2007 use createunit and one of these names <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> SeaGull Hawk DragonFly Butterfly HouseFly HoneyBee Mosquito in an init line?.. Share this post Link to post Share on other sites
Junker 0 Posted May 28, 2007 try this <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> bird = "Hawk" creatunit [position player] Share this post Link to post Share on other sites
wika_woo 182 Posted May 28, 2007 I've tried a few other scripts, but it's a no go. Share this post Link to post Share on other sites
Platoon_Patton 0 Posted May 28, 2007 Put a player on the map,write in his init: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">bird = "hawk"createvehicle getpos player You will see a dead hawk on your feet. If you put this code in the initline of a GameLogic,you can then set your GL wherever U want,the bird will slowly fall to the ground. I tried with this code; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">bird = createVehicle ["hawk", getpos player, [], 0, "FLY"] but this crashes ArmA Share this post Link to post Share on other sites
wika_woo 182 Posted May 28, 2007 Put a player on the map,write in his init:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">bird = "hawk"createvehicle getpos player You will see a dead hawk on your feet. If you put this code in the initline of a GameLogic,you can then set your GL wherever U want,the bird will slowly fall to the ground. I tried with this code; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">bird = createVehicle ["hawk", getpos player, [], 0, "FLY"] Â but this crashes ArmA lol.. thanks for that. But what i want a bird to do is get up and fly of the ground... Also give it some waypoints... Thanks a bunch. Share this post Link to post Share on other sites