How 'bout TEAM specific teleports? I'd like to have Forward and Reverse teams on my concmap and I canney understand how to do it in FF.
No specifics, generic terms can be used for tele destinations and such, I'd love a basic outline though ;) EDIT: Said class specific lewlz ;x |
use a "trigger_teleport"
|
Team/class specific, I need, not just one teleport for everybody :)
|
Re: TheWetMule
Code:
specific_tele = info_ff_script:new({ class = Player.kCivilian, team = Team.kUnassigned }) |
your the man squeek, you will be the first one i let play rock2!
|
Quote:
|
8-ball what?
|
Me luv you long tiem squeek
|
2 dolla!
|
Right, decided to put that nifty piece of code to the test, just want to clear up that I'm doing everything right.
After I've done that, it should ONLY teleport blue scouts, not blue demomen or something? If so, it doesn't appear to be working! It teleports me regardless of class/team |
Code:
specific_tele = info_ff_script:new({}) |
Quote:
|
No no, they worked seperately, just not together :P Don't worry, you did a grand job squeek.
EDIT: As in, scout teles only or team teles only, just not together. |
LOLDROUBLEPROAST
Anyway, got another one for you, is there a way to restock people ,constantly, no matter where they are without the use of mass trigger_ff_scripts :X? |
Quote:
|
Not to seem like I'm forcing you into slave labour, but is there a way to make rockets/pipes/grenades/concs effect only the person that dropped them/used them?
|
Quote:
|
Quote:
Code:
function player_onconc(player_entity, effector_entity) |
Quote:
Code:
AddScheduleRepeating( "Restock", RESTOCK_ITERATION_TIME, restock ) Code:
playerStateTable = {} |
Wonderful, you're a genius Squeek, one little problem with the reload code though, I get the error
[SCRIPT] Error calling player_spawn ([string "maps\ddbbdd.lua"]:84: bad argument #1 to 'pairs' (table expected, got nil)) ent: NULL |
All times are GMT. The time now is 05:03 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.