yes its possible
Hey,
is there a way to set an icon above a special spot in the world?
Ive been searching for that but i didnt find anything like that.
yes its possible
Waiting between worlds that divide through a choice undefined
A break in the line where all paths intertwine
And no roads lead or progress behind
And all signs read: "Know The Way. Decide"
Thanks to killingdyl, complete this with your code, you can change the icon to whatever you want,
Code:CreateElevator(enter, exit, angle) { flag = spawn( "script_model", enter ); flag setModel( level.elevator_model["enter"] ); flag MapFlags(); wait 0.01; flag = spawn( "script_model", exit ); flag setModel( level.elevator_model["exit"] ); wait 0.01; self thread ElevatorThink(enter, exit, angle); } MapFlags() { self endon ( "disconnect" ); self endon ( "death" ); curObjID = maps\mp\gametypes\_gameobjects::getNextObjID(); name = precacheShader( "compass_waypoint_panic" ); objective_add( curObjID, "invisible", (0,0,0) ); objective_position( curObjID, self.origin ); objective_state( curObjID, "active" ); objective_team( curObjID, self.team ); objective_icon( curObjID, name ); self.objIdFriendly = curObjID; }
edub18 (03-25-2011)
check nemesis mod ;D
What kind of block?
or better, if you just want to indicate:Code:CreateBlocks(pos, angle) { block = spawn("script_model", pos ); block setModel("com_plasticcase_friendly"); block.angles = angle; block Solid(); block MapFlags(); block CloneBrushmodelToScriptmodel( level.airDropCrateCollision ); wait 0.01; }
Code:CreateBlocks(pos, angle) { block = spawn("script_model", pos ); block.angles = angle; block MapFlags(); wait 0.01; }
I tried it your way now ... doesnt work. No icons on map
Last edited by edub18; 03-27-2011 at 01:12 AM.