SA-MP Forums Archive
Question. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question. (/showthread.php?tid=284821)



Question. - Liam - 20.09.2011

Would it be possible to script in birds that move in a motion/direction you set? Is there like way to get the texture or whatever you do of the birds and use it many ways?

Thanks,

Liam.


Re: Question. - Kingunit - 20.09.2011

Can you show us a example. Honestly - I don't really understand you.


Re: Question. - Yamoo - 20.09.2011

I guess he means like a NPC bird.

I guess no.


Re: Question. - dowster - 20.09.2011

maybe with objects?


Re: Question. - Liam - 20.09.2011

You know how you see like birds just flying in the air? That's what I'm talking about.

And no, you can't?


Re: Question. - Issam - 20.09.2011

Quote:
Originally Posted by Liam
Посмотреть сообщение
You know how you see like birds just flying in the air? That's what I'm talking about.

And no, you can't?
Well,to be honest i found a SHARK moving on Crazybob Cops and Robbers server,also a Cow,but those were made because they were Objects, Honestly,it might work if the birds are Objects,i'm not sure if the birds are a OBJECT or Not.


Re: Question. - Liam - 20.09.2011

That's what I'm trying to figure out


Re: Question. - Issam - 20.09.2011

Quote:
Originally Posted by Liam
Посмотреть сообщение
That's what I'm trying to figure out
Open MTA,type in "Search" "Bird" or "Birds", when i type "fish" it works.


Re: Question. - Liam - 20.09.2011

No but make them also go into a direction I want them to


Re: Question. - IceCube! - 20.09.2011

If it is a object

pawn Код:
MoveObject(objectid, x, y, z, speed);
But you must define the object

[pawn]OnGame...
{
Birds[0] = CreateObject(objectid, x, y, z);
}

Then use the code above as such

pawn Код:
MoveObject(Birds[0], x, y, z, speed);
I'm guessing you know how to define birds