Cargo Scripting |
Cargo Scripting |
Apr 4 2011, 23:31
Post
#1
|
|
Member Group: Members Posts: 43 Joined: 6-April 09 From: Milton Keynes, United Kingdom Member No.: 5,491 |
Hey once again guys
Could someone tell me the script or command to attach ammo crates and vehicles etc to the cargo parachutes? Would be much appreciated. Thanks |
|
|
Apr 5 2011, 00:14
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 |
A command to attachto? I don't believe it exists
If it did exist, you'd need to use it like this: CODE Slave attachto [Master,[0,0,0]] You can replace [0,0,0] with any value, to get a different attachment position (where [0,0,0] would be the same as "getpos Master"), to the best of my knowledge, it isn't possible to attach objects at different angles... If you want to detach the object afterwards, you can use this command: CODE detach slave
-------------------- 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. |
|
|
Apr 5 2011, 00:58
Post
#3
|
|
Member Group: Members Posts: 43 Joined: 6-April 09 From: Milton Keynes, United Kingdom Member No.: 5,491 |
Sorry for sounding like the biggest noob ever lol, but where would I place the 'detach slave' command? Not in the same Initialization box as the 'attachto' one is it?
|
|
|
Apr 5 2011, 10:23
Post
#4
|
|
Gee, I wish we had one of them doomsday machines. Group: Moderators Posts: 2,037 Joined: 13-November 06 From: Wales Member No.: 155 |
Well, that's the command you need to call to detach the attached object. You should call it when you want the object detached
With this sort of command, it's best to call both through either scripts or triggers, rather than using the initialization field. -------------------- 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. |
|
|
Lo-Fi Version | Time is now: 25th April 2024 - 21:56 |