×
Меню
Индекс

MSFD Place items near an object

 
 
PlaceAtMe "Item_ID" count_enum, distance_enum, direction_enum
 
     Object->PlaceAtMe ‘Item_ID’ count_enum distance_enum direction_enum
 
The PlaceAtMe function works the same as PlaceAtPC without it being centered on the PC. Bloodmoon uses this to place attackers in different places depending on the player’s distance at the time. This allows the script to make it appear as though there is a large number of opponents that just keep coming, among other things.
 
 
;THIS POPS IN A HUNTER AT APPROPRIATE SPOT, INCREMENTS HUNTERCOUNT, AND RESETS TIMER
if ( popA == 1 )
     "active_BM_hunter1"->PlaceAtMe skaal_hunter 1 1 1
     set huntercount to ( huntercount + 1 )
     set timer to 0
elseif ( popB == 1 )
     "active_BM_hunter2"->PlaceAtMe skaal_hunter 1 1 1
     set huntercount to ( huntercount + 1 )    
     set timer to 0
elseif ( popC == 1 )
     "active_BM_hunter3"->PlaceAtMe skaal_hunter 1 1 1
     set huntercount to ( huntercount + 1 )
     set timer to 0
endif