FANDOM


VolMarket
The market stalls are implemented by linking all the items on each individual stall to an XMarker (the first ObjectReference Property in script) which is initially set to disabled. The stall is then surrounded by a 'default trigger box' attached to which is a script that enables the XMarker when the appropriate NPC (the second ObjectReference Property in script) enters the box and disables again when they leave. The NPC work package controls the time he/she spends inside the box (usually 3/4 hours) tied to a XMarkerHeading (radius 50).


 Volhinor Market Scripts

Scriptname AllVAsmaStoresStallActivate extends ObjectReference 

ObjectReference Property AllVolStoresStandMarker Auto

ObjectReference Property AllAratFAsma Auto

EVENT onTriggerEnter(objectReference triggerRef)

if triggerRef == AllAratFAsma

AllVolStoresStandMarker.Enable()   

endif

endEvent

EVENT OnTriggerLeave(objectReference triggerRef)

if triggerRef == AllAratFAsma

AllVolStoresStandMarker.Disable()   

endif

endEvent

Scriptname AllVSagburraStallActivate extends ObjectReference 

ObjectReference Property AllVolJewelStandMarker Auto

ObjectReference Property AllWoodElfSagburra Auto

EVENT onTriggerEnter(objectReference triggerRef)

if triggerRef == AllWoodElfSagburra

AllVolJewelStandMarker.Enable()   

endif

end

Event EVENT OnTriggerLeave(objectReference triggerRef)

if triggerRef  == AllWoodElfSagburra

AllVolJewelStandMarker.Disable()   

endif

endEvent

Scriptname AllEnoraInnStallActivate extends ObjectReference 

ObjectReference Property AllVInnStandMarker Auto

ObjectReference Property AllAratFEnora Auto

EVENT onTriggerEnter(objectReference triggerRef)

if triggerRef == AllAratFEnora

AllVInnStandMarker.Enable()   

endif

endEvent

EVENT OnTriggerLeave(objectReference triggerRef)

if triggerRef == AllAratFEnora

AllVInnStandMarker.Disable()

endif

endEvent

Scriptname AllVFarmStallActivate extends ObjectReference 

ObjectReference Property AllVFarmStandMarker Auto

EVENT onTriggerEnter(objectReference triggerRef)
if triggerRef != game.GetPlayer()
AllVFarmStandMarker.Enable()   
endif
endEvent

EVENT OnTriggerLeave(objectReference triggerRef)
if triggerRef != game.GetPlayer()
AllVFarmStandMarker.Disable()        
endif
endEvent


Summna Market Scripts

Scriptname AllSumNidabaStallActivate extends ObjectReference 

ObjectReference Property AllSumInnXMark Auto

ObjectReference Property AllWoodelfSumNidaba Auto

EVENT onTriggerEnter(objectReference triggerRef)

if triggerRef == AllWoodelfSumNidaba

AllSumInnXMark.Enable()        

endif

endEvent

EVENT OnTriggerLeave(objectReference triggerRef)

if triggerRef  == AllWoodelfSumNidaba

AllSumInnXMark.Disable()  

endif

endEvent

Scriptname AllSumShusinStallActivate extends ObjectReference 

ObjectReference Property AllSumToolsXMark Auto

ObjectReference Property AllAratSumMShusin Auto

EVENT onTriggerEnter(objectReference triggerRef)

if triggerRef == AllAratSumMShusin

AllSumToolsXMark.Enable()          

endif

endEvent

EVENT OnTriggerLeave(objectReference triggerRef)

if triggerRef  == AllAratSumMShusin

AllSumToolsXMark.Disable()  

endif

endEvent

Scriptname AllSumPukkhaStallActivate extends ObjectReference 

ObjectReference Property AllSumStoresXMark Auto

ObjectReference Property AllAratSumPukkha Auto

EVENT onTriggerEnter(objectReference triggerRef)

if triggerRef == AllAratSumPukkha

AllSumStoresXMark.Enable()          

endif

endEvent

EVENT OnTriggerLeave(objectReference triggerRef)

if triggerRef  == AllAratSumPukkha

AllSumStoresXMark.Disable()  

endif

endEvent

Scriptname AllSumIstaraStallActivate extends ObjectReference 

ObjectReference Property AllSumFarmXMark Auto

ObjectReference Property AllAratSumFIstara Auto

EVENT onTriggerEnter(objectReference triggerRef)

if triggerRef == AllAratSumFIstara

AllSumFarmXMark.Enable()           

endif

endEvent

EVENT OnTriggerLeave(objectReference triggerRef)

if triggerRef  == AllAratSumFIstara

AllSumFarmXMark.Disable()   

endif

endEvent

SummnaMarket
Summna Market


Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.