![]() |
|
|||||||
| 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
|
||||
|
||||
|
Quote:
UPD: Why you try to change weapon for 5 mechanics at once? Try to do it for one. If it's not work - try to separate your task into several smaller tasks. For example: try to clear inventory only and start the game. Perhaps 'Actor.ClearInventory()' works only for player, not for NPCs. If 'Actor.ClearInventory()' works for mechanic - try to create pistol, etc. Last edited by forlik; 02-08-2010 at 08:58 AM. |
|
#2
|
||||
|
||||
|
I finally managed to solve a problem that has been a thorn in my side for quite a while - all armed mechanics in Lightning have silenced Lugers.
|
|
#3
|
||||
|
||||
|
I can't see any sense in this feature, nevertheless - my congratulations!
|
|
#4
|
||||
|
||||
|
Quote:
I think I've done enough now to release v4.0. http://www.megaupload.com/?d=OLLMQUQ0 What's new in this version:
What to expect in the next release:
|
|
#5
|
||||
|
||||
|
Here's a screenshot of the slightly revamped Lightning. It's still a WIP...
I already gave these workers Walther P38s, but how do I get rid of their rifles? |
|
#6
|
||||
|
||||
|
Quote:
P. S. Worker with Kar98k looks more historically accurate than worker with Walther P38 |
|
#7
|
||||
|
||||
|
Quote:
The rifle weapon slot seems to be immune to the Actor.ClearInventory command. What am I doing wrong here? Code:
local worker = Level.FindActor('GS06');
if (worker != nil ) then
Actor.EnableMesh( worker, "grm_cap", true );
Actor.ClearInventory(worker, true );
local gun = Level.CreateItem("Walter","Weapon");
Actor.PutWeapon( worker, Actor.WEAPON_SLOT_PISTOL, gun );
Actor.PutWeaponAmmo( worker, "Walter");
Actor.DropCurrentWeapon( worker, Actor.WEAPON_SLOT_RIFLE, "K98");
end;
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|