hello
Jump to turn (10)
- 1hello
- 2So I am trying to figure out the best to handle different abilities in my game a
- 3Instead of creating a base ability for each ability. Could we instead create a n
- 4Two more questions. How should I approach customizing the different types of use
- 5Can you show me c++ code on how you would initialize and setup the emitter dicti
- 6What if we don't know what ability we are using?
- 7UPROPERTY(EditDefaultsOnly) TSubclassOf RagnaAbilityNiagaraActorClass; // TODO:
- 8this won't work because I need to pass in user parameters based on spawn locatio
- 9How do I pass this data into UpdateEmitterParameters when each ability will have
- 10What if I don't know what ability I am casting. How do I know to update X abilit
- User
hello
- Assistant
Hello! How can I help you today? If you have any questions or need assistance, feel free to ask.
- User
So I am trying to figure out the best to handle different abilities in my game and how it ties to the niagara system and niagara component. For example, let's say I have a fireball ability, the ability when casted should start the niagara system to display the effect to the user and then it should travel the targeted location. In this case, I can pass in user parameters to the fireball spell like spawn location and target location. For other spells, I might have an effect that takes in different user parameters than the fireball. For example, I might have a heal effect niagara system that gets casted on the player and follows them as they move. What is the best way to handle different abilities with different user parameters and data that each ability needs. I am using UE5 and GAS for this.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.