Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > Death to Spies

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
Prev Previous Post   Next Post Next
  #16  
Old 02-07-2010, 09:32 AM
forlik's Avatar
forlik forlik is offline
Approved Member
 
Join Date: Nov 2008
Location: Minsk, Belarus
Posts: 450
Default

Quote:
Originally Posted by Liz Shaw View Post
forlik, how can you tell an NPC's ID outside the LUA file? This guy's registered in the SWD as "GermanSoldier173".
GermanSoldier173 has empty ID (black area). ID is stored in SWD after 0x3D bytes (yellow area) after the entity name (green area).
You can create ID yourself. Just fill black area with 4-bytes ID in reverse form.
For example, 'S173' should be saved as '371S'. After that you can use this ID in lua: Level.FindActor('S173').
ID should be unique.
Attached Images
File Type: jpg swd1.jpg (52.7 KB, 11 views)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.