#convert event value binary into decimal

4 messages · Page 1 of 1 (latest)

surreal tartan
#

in emevd js module:

SkipIfEventFlag(2, OFF, TargetEventFlagType.EventFlag, 1053270003); currSum = currSum + 4; // always executed AwardGesture(2); //skip if 1053270003 OFF AwardGesture(2); //skip if 1053270003 OFF

GotoIfEventFlag(L4, OFF, TargetEventFlagType.EventFlag, 1053270001); //L4 not define L4: return Id1;

IfEventFlag seems suck the script, no idea about it.

zinc river
#

I am unable to understand what you are trying to ask

surreal tartan
# zinc river I am unable to understand what you are trying to ask

Is there a way to translate binary stored in eventflags into decimal with emevd?

I'm tring to use CopyCharacterDataFromOnlinePlayers, which require a numer as fallbackCharacterParamId parameter,I hope this number can be specified dynamically(depends on what armor player equiped).
With event value opertaion, it's easy to store value in eventflags(in binary form), but not able to translate them into decimal number

zinc river
#

When you compare event values in emevd it's always the binary being compared against a decimal value if you use the commands that specify they are lookingfor an event value. If you were wanting to say take your event value and pass it in as one of the parameters for CopyCharacterDataFromOnlinePlayers, I don't think there's a way to make that work. At least not any I can think of