how can i attach actor to vehicles without TAGS?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Aprop
Major
Posts: 291
Joined: Mon Nov 17, 2008 3:40 pm

how can i attach actor to vehicles without TAGS?

Post by Aprop »

That damn flak havent right tag, so i cant attach to it actors like for eg to aagun or jeep (self attachpassangerslot 0 [etc]).. I tried hook method (bind, glue, script origin) but it dont work correctly... to add tag, i need to edit model? Isnt here easier way?
$oldier Of Ra
Lieutenant Colonel
Posts: 404
Joined: Sun Oct 16, 2005 7:16 pm
Location: Belgium
Contact:

Post by $oldier Of Ra »

Glue/bind don't work so well when trying to get the position right. You must use them together like so: (Glue resets the angles so you cannot change the way the player is glued to the flak88, bind only works with script_origins and a few others)

Code: Select all

local.or = spawn script_origin
local.or.origin = $your_flak88.origin
local.or glue $your_flak88

//change to get the correct position on the flak88
// you can also use - ( X Y Z )
// example $onething.origin = $something.origin + ( 0 50 90 )
<player_alias>.origin = $your_flak88.origin + ( X Y Z ) 
<player_alias> bind local.or
Hope it helps, but I'll look through the flak88's files to find any tags.
EDIT: besides the tag_barrel there's also a tag_eject, maybe try that?
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)

For all your bot needs!!!!

$oldier Of Ra.
Post Reply