BrendonLeCount Posted February 21, 2010 Share Posted February 21, 2010 I'm writing a sort of involved HTS mod, and was wondering if an instance of an ingestible's effect script can access the weight of its associated ingestible. Something like: Drink a bottle of water, trigger Drink effect with a Drink script, with the code: Set fScriptVariable1 to 3 * Weight Where Weight is the weight of whatever ingestible happens to have been... ingested, triggering the script. I'm assuming a script can also access the effect's Magnitude, Duration, and Area values, if those flags were set in the Effect definition? If anybody has any experience with this and can tell me off the top of their head, great, otherwise I'll probably be finding out myself pretty soon and will post it here. Thanks Link to comment Share on other sites More sharing options...
pkleiss Posted February 21, 2010 Share Posted February 21, 2010 The only way I know of to get the weight of an object is to use the FOSE command GetWeight. Link to comment Share on other sites More sharing options...
BrendonLeCount Posted February 22, 2010 Author Share Posted February 22, 2010 There's a bummer. I guess it will still work - albeit more tediously - if I do it through the magnitude or area value. Any experience with those? *BTW, checked out your mod pics, looks polished. I like the fire trap and stealthed ghoul or whatever. Very creepy. Link to comment Share on other sites More sharing options...
Recommended Posts