kucingkucing Posted March 18, 2021 Share Posted March 18, 2021 hi, sorry for my bad English,currently, I need these functions:(note: this code is writing using notepad, they just for references) 1. show message when combat started. Event OnCombatStart() ShowMessage MessageCombatStart EndEvent2. show message when combat ends. Event OnCombatEnd() ShowMessage MessageCombatEnd EndEvent3. Get RefID Current Humanoid Companion. GetHumanoidCompanionRefID() ;Craig Boone, Lily Bowen, etc4. Get RefID Current NonHumanoid Companion. GetNonHumanoidCompanionRefID() ;Rex and ED-E5. spell check, return true if the player has that (active?) spell. IfPlayerHasAddiction(0006698C) ;0006698C is Alcohol addiction spell6. get effect duration, let said player drink "Purified water", then the function will return the remaining duration of that effect. return 0 if the player does not have the drink "Purified water" effect IfPlayerHasEffect(000151A3) ; 000151A3 is "Purified water" consumeable IDif you know all of any of it please reply, thanks for reading, have a nice day Link to comment Share on other sites More sharing options...
Recommended Posts