Jump to content
Sign in to follow this  
wika_woo

Spawning A Bird aka seagull

Recommended Posts

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?..

confused_o.gif

Thanks a mil.

Share this post


Link to post
Share on other sites

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
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?..

huh.gif

Share this post


Link to post
Share on other sites

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

I've tried a few other scripts, but it's a no go. confused_o.gif

Share this post


Link to post
Share on other sites

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 crazy_o.gif

Share this post


Link to post
Share on other sites
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 crazy_o.gif

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... rofl.gif

Thanks a bunch.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×