![]() |
|
|||||||
| Death to Spies Stealth action. Professional spy working for the Soviet counterintelligence service executes dangerous operations in the heart of German territory. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Something like this:
Code:
Actor.EnableMesh(AI.FindNPC("ID99"), "grm_cap", false);
Quote:
Not every actor has the ID. It's possible to create your own ID for him, but it's not easy to find needed entity. If you can't find ID in lua - let me know and I'll post the instructions here. |
|
#2
|
||||
|
||||
|
Where in the LUA file does it go?
|
|
#3
|
|||
|
|||
|
It's the crack doing strangely in MoH Airborne, it skips things etc. Forgot to mention it, Not the mouse.
I want to play this.. Does DtS support Dual Core? Last edited by Pizzadvl; 02-05-2010 at 09:07 AM. |
|
#4
|
||||
|
||||
|
Try to Level.OnLoaded() or Level.OnFinishLoad().
See your inbox. |
|
#5
|
||||
|
||||
|
I don't think you've given me the full code. The game crashes when I load up the level.
|
|
#6
|
||||
|
||||
|
Quote:
We already talked about meshes here: http://forum.1cpublishing.eu/showpos...6&postcount=27 |
|
#7
|
||||
|
||||
|
Further attempts at doing this have resulted in a syntax error. What have I done wrong here?
Code:
function Level.FindActor
local radist = Level.FindActor('ZS29);
if ( radist != nil ) then
Actor.EnableMesh( radist, "grm_cap" , false );
end;
end
function Level.FindActor
local radist = Level.FindActor('ZS30);
if ( radist != nil ) then
Actor.EnableMesh( radist, "grm_cap" , false );
end;
end
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|