IPB


Welcome Guest ( Log In | Register )

 Forum Rules Forum Rules
 
Reply to this topicStart new topic
> Grenade bug error, Can't give grenades to soldier's in the mission editor
Newmissionmaker
post 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.
 
Quote Post
D@V£
post Sep 21 2011, 12:27
Post #2


Gee, I wish we had one of them doomsday machines.
Group Icon

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 hate me love me secretly fear that Mark is watching you while you sleep. secretly wish that Mark is watching you while you sleep.
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.
 
Quote Post
Newmissionmaker
post 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.
 
Quote Post

Fast ReplyReply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 15th October 2018 - 09:55