drug_effect_set_override_values(alcohol_strength, cannabis_strength[, sync_flags])

Parameters:
alcohol_strength (float) intensity of the alcohol effect, from 0 to 1
cannabis_strength (float) intensity of the canabis effect, from 0 to 1
sync_flags (integer, optional) synchronization type (MULTI_SYNC_LOCAL = affects local player, MULTI_SYNC_REMOTE = affects remote player, or MULTI_SYNC_ALL = affects both players; defaults to MULTI_SYNC_ALL)
 
Returns:
none

Description:
Override the intoxication strength values for the drug system.
 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:15