Page 1 of 1

linking to target

Posted: November 3rd, 2006, 4:21 pm
by creator
how does the 'linking' work? like used in fun_fair, cmon luke i know that u know how it works :P

Posted: November 3rd, 2006, 5:58 pm
by Drofder2004
Select entity A, then select entity B (target)
Press W (CoD2)
(Not sure what it is for CoD)...

The target than can be called via script using...

entityA.target

Posted: November 3rd, 2006, 6:07 pm
by creator
hmm yeh but i need cod1, and what i need to make? a script_origin with targetname? and a trigger with targetname then only scripting or more/something else

Posted: November 4th, 2006, 10:34 am
by All-Killer
In cod1 its jusp ctrl+k = w. Its just like with singleplayer

Posted: November 4th, 2006, 2:09 pm
by creator
no.. not targetname and target... but like in funfair.. u be in the cart but cant move out untill u bash

Posted: November 4th, 2006, 2:45 pm
by Luke
What are you trying to make? to get the player into the carriages the linkto function was used, and this is used to exit:
if(self MeleeButtonPressed())
{
self unlink();
}
}

Targets aren't required for this.