mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
API.md documents what the last three commits added to ModelScene actors: - actor:StopSpellVisual(), which interrupts the spells an actor still prepares (a cast already made, and its missile, go on). - actor:PlaySpellVisual for ranged spells: the ranged weapon gives what the spell's visual lacks (all of Auto Shot's), the actor's ammo is the missile (a plain arrow or bullet without one, a thrown weapon throws itself), bullets do not show in flight. - actor:TryOn of arrows and bullets as the actor's ammo. - actor:SetShadowShown on a WMO floor: it follows slopes and steps and fades with height; no floor, no shadow. - scene:SetGroundTerrain and actor:SetPlayAnimationSounds: without a set ground, the WMO floor under an actor picks its footstep and death thud sounds. - scene:SetWorldModel: only the lights of the part an actor stands on light it, and the floor picks its sounds and takes its shadow. README lists :StopSpellVisual with the other actor methods.