Jump to content
Sign in to follow this  
tractorking

New, Obvious Question? Adding Smokeshells

Recommended Posts

Ok

So like some others have said there are somegreat tutorials here but for someone who has no prior knowledge of editing scripts and OFP its not obvious enough.

Lists are cool but I am unsure of what to do with the info.

Ive read the guides and searched and tried many ways but cannot get this to work so.............

When adding smokeshells to the unit via the initialiation bar...

Ive added: this addweapon "smokeshellgreen"

I can see it in my inventory in game but there are none availible, Ive tried various combinations of strings to try to get 2 smoke shells but nothing worked......Ive used every trick in the tutorials and forum and cannot get them to show up in game...

Help a brother out.

The Editor is cool and bringing new life to an old love (ARMA)

Also...is the editor in ARMA2 more user friendly?

Share this post


Link to post
Share on other sites

The Smokeshells are Magazines not weapons!

this addMagazine "SmokeShellGreen"

Share this post


Link to post
Share on other sites

Thanks for the quick help but.....

How does one add multiple items? say I want 3 and not one?

also, how do you make a unit throw smoke using a trigger or waypoint.

ie: designating a landing zone

Yes I did the search and read the Wiki and no apparent answer was availible.

Most of the documents assume you already now the basics. wich I dont, sorry, Im a Newb at mission editing.

Thank you again.

Edited by tractorking

Share this post


Link to post
Share on other sites

ok so Ive figured out alot of stuff from the armaedit, but most of it on my own through trial and error.

So how do I make a ai unit throw a grenade.

Or a tank brigade fire on something?

Share this post


Link to post
Share on other sites
ok so Ive figured out alot of stuff from the armaedit, but most of it on my own through trial and error.

So how do I make a ai unit throw a grenade.

Or a tank brigade fire on something?

http://community.bistudio.com/wiki/Control_Structures#for-from-to-Loop

Use the biki to find a command that makes sense and then you can search the forums for a usage example. Also theres a site called OFPEC http://community.bistudio.com/wiki/Category:Scripting_Commands_ArmA

http://community.bistudio.com/wiki/selectWeapon

http://community.bistudio.com/wiki/doFire

http://community.bistudio.com/wiki/fire

smokeman fire ["SmokeShellMuzzle","SmokeShellMuzzle","Smokeshell"];

found via simple search: http://forums.bistudio.com/showthread.php?t=74428&highlight=throw+grenade

Edited by oktane

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  

×