so something like this?
wcs_character.DamageTaken:Connect(function(container)
humanoid:TakeDamage(container.Damage)
end)
so something like this?
wcs_character.DamageTaken:Connect(function(container)
humanoid:TakeDamage(container.Damage)
end)
pretty much yeah
hatethe30limitchars
When I use multiple parameters in Skill:Start() only the first one prints its value when received by Skill:OnStartServer(), the rest print nil even if they arenât. Is this intended behavior? The documentation says âOnStartServer(params)â which to me implies it accepts multiple.
This is intentional due to lua types, but will be changed in the next version
Please use Timer:getCurrentEndDateTime().UnixTimestampMillis
for the skills TimerEndTimestamp
state so we can track when cooldowns are over to the millisecond.
new version is using GetServerTimeNow() (ig you can change it manually right now)
Whatâs the best way to handle inputs with movesets? I want to handle moveset skills universally rather than on a per moveset basis but it seems dictionaries in luau are randomly sorted so iâm not sure what to do.
Is WCS.Character.CharacterCreated
only called for the local playerâs character on the client?
The statuses only change the humanoid properties like walkSpeed and JumpPower on the client, i mean, it doesnât replicate to server, is this normal?, i am even requiring and using them on server, but it still doesnât replicates
yeah.
30charlimitsssssssssssss
yes, this is intended behavior.
You can do something similar:
local keys = {Enum.KeyCode.One, Enum.KeyCode.Two}
function processInput(input)
local index = table.find(keys, input.KeyCode)
if not index then return end
local constructor = MovesetObj.Skills[index]
local skill = wcs_char:GetSkillFromConstructor(constructor)
end
MovesetObj can be retrieved using the following apis:
https://wad4444.github.io/WCS/docs/api/wcs#getmovesetobjectbynamename
https://wad4444.github.io/WCS/docs/api/character#getmoveset
how do you send constructor args in ApplyMoveset() or ApplySkillsFromMoveset()?
currently impossible, iâm still thinking about the design of this in v2
any estimates of when v2 coming?
relatively soon, within the next week if Iâll have enough free time
progress on v2 mainly can be seen here, if anyone is interested: GitHub - wad4444/WCS at v2
Excited for v2! Just started using refx and WCS to implement combat in my game.
Honestly the two best resources in devforum.
If you donât mind, I am not very well-versed in English too, I ask that you just put all of your documentary into google translate and paste it in so people that struggle with English have a chance.
If you do not that is fine but I would love that!
Will show my progress when I have literally anything done.
Thank you wAD,
I am probably going to wait for a possible translation into Arabic because I cannot figure out what to dođ
This motivated me to improve my reading skills.
I also had an idea!
It would be nice if there was a example âskillâ, âstatus effectâ and handlers to make it easier for people to use this resource.
I donât think it would be too hard, I only suggested it because it took me 1 hour to setup up basic things lol
Ref x is going well because I understand replication a lot more
I basically donât understand anything Iâm only 2 months in development.
Made a dash ability using refx and wcs.
Amazing handling!
Thank you for your resource again,
Iâm not planning to do an arabic translation, sorry. However, I might release an open source game in the future using WCS, that would act as a good example.
That is ok ,
A open source game sounds VERY cool!
That would help out a lot of people thank you wAD!