Grenade bug error, Can't give grenades to soldier's in the mission editor |
Grenade bug error, Can't give grenades to soldier's in the mission editor |
Sep 15 2011, 23:04
Post
#1
|
|
New Member Group: Members Posts: 2 Joined: 15-September 11 Member No.: 9,220 |
Hi all, I'm having a problem with equipping grenades to a soldier in the mission editor. I've searched all over the internet and could not find any info on this. Whenever I try to equip a unit with a grenade I get either "Scope=Private" or "Error! no entry in config" How do I give the grenade class weapons to units in the mission editor?
Also is there a way to insert a building into a mission? I'm not talking about using the mission editor update to insert a building as an object. If I do this the AI doesn't recognize it as a building. |
|
|
Sep 21 2011, 12:27
Post
#2
|
|
Gee, I wish we had one of them doomsday machines. Group: Moderators Posts: 2,037 Joined: 13-November 06 From: Wales Member No.: 155 |
Are you sure you're adding the right grenade class? The scope=private error suggests you're trying to add grenade base class, rather than one of the actual grenades. The M67 is "HandGrenade_West" and the Russian one who's name eludes me right now is "HandGrenade_East".
So, if you wanted to give a unit a grenade, use: CODE This addMagazine "HandGrenade_West" (Don't forget, Hand Grenades, Smoke Shells etc. are treated as magazines by the engine, not weapons!) -------------------- The Rules - Nothing too complicated, follow these and we'll have no problems.
Moderation Feedback Thread - Tell everyone how much you Site Issues Thread - Complain about site issues here. We might even fix them! Community Chatter Thread - Furthest Mud-sling gets a free subscription to "JdB Monthly". QUOTE(Major Mike Shearer) We can categorically state that we have not released man-eating badgers into the area. QUOTE(Brace Belden) A machine gun is like a woman, I don’t understand it, I’m afraid of it, and one day I’ll accidentally be killed by one. |
|
|
Sep 22 2011, 02:55
Post
#3
|
|
New Member Group: Members Posts: 2 Joined: 15-September 11 Member No.: 9,220 |
Thank You, that is what I was doing wrong. Treating it as a weapon instead of a magazine.
|
|
|
Lo-Fi Version | Time is now: 24th April 2024 - 12:22 |