Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Not to forget this script function added by Zbyl(#3304)

scriptEvent float getMissionStatistic(string statisticName);
Returns current mission statistic.
	statisticName: Can be one of (case insensitive):
	gamePlayTime  gameplay time in seconds
	damageDealt  damage dealt to enemies
	damageReceived  damage received by player
	healthReceived  health received by player
	pocketsPicked  pockets picked by player
	foundLoot  loot found by player
	missionLoot  total loot available in mission
	totalTimePlayerSeen  total time the player was seen by enemies in seconds
	numberTimesPlayerSeen  number of times player was seen by enemies
	numberTimesAISuspicious  number of times AI was 'observant' or 'suspicious'. A single AI passing through both alert levels will add 2 to the score.
	numberTimesAISearched  number of times AI was 'investigating' or 'searching'. A single AI passing through both alert levels will add 2 to the score.
	sightingScore  sighting score (number of times player was seen * weight)
	stealthScore  stealth score (sighting score + alerts * weights)
	killedByPlayer  number of enemies killed by player
	knockedOutByPlayer  number of enemies knocked out by player
	bodiesFound  number of times enemies have spotted a body
Spawnclasses responding to this event: idThread

Great stuff imho. (see also here)

 

Can't wait to try this stuff out.

  • Like 1

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Posted

Thanks Obs, but credit where it's due: Zbyl wrote the patch, I just checked and merged it. The updated documentation I do claim credit for :)

  • Recent Status Updates

    • taaaki

      The post editor for the dark themes should be working again. Apologies for the inconvenience.
      · 1 reply
    • jaxa

      Talk GabeCube:
      https://forums.thedarkmod.com/index.php?/topic/18055-2016-cpugpu-news/page/39/#findComment-508710
      · 3 replies
    • The Black Arrow

      Things have been so bad these days for me...
      Just a year ago, I've been feeling dizzy, I thought it was nothing, today's stress, that type of thing, went to sleep...Still dizzy! 9 more days dizzy, went to doctor (I would have gone on the first day if NOT for the long appointment time)
      Said it may be Neck Dizziness...I did exercises for 6 months, no changes.
      Went to a Physical Therapist, went to another, no changes.
      I've asked my doctor for a full check this time.
      I hated yesteryear so much due to personal reasons, this year might be the same.
      To be brutally honest, I'd rather have cancer or/and chronic pain than suffer dizziness any second longer, especially when nothing helps.
      Hard to enjoy Thief when you're dizzy so I was hoping this year, Winter will be best for me.
      · 7 replies
    • JackFarmer

      Hello mappers and taffers! 

      Are you still out there? It is so calm here these days and I am afraid this is no good sign.
      Proof me wrong, tell your best friend (=me), that you are still here and that you will not go away!
      · 9 replies
    • JackFarmer

      Happy Labour Day, my taffing taffers & hard working mapping friends!
      And remember the poor souls who, within the Inventors’ organization, labor under Jonus’s yoke to ensure the success of that very guild! Always remember the hard workers!
      · 2 replies
×
×
  • Create New...