[DiscordArchive] Then idk if you can even have a template in that case, can you?
[DiscordArchive] Then idk if you can even have a template in that case, can you?
Archived author: MaxtorCoder • Posted: 2024-01-02T13:51:06.506000+00:00
Original source
Then idk if you can even have a template in that case, can you?
Archived author: Malcrom • Posted: 2024-01-02T13:51:45.630000+00:00
Original source
I couldn't get it to work so I just set variables on arrive
Archived author: ModoX • Posted: 2024-01-02T13:53:11.719000+00:00
Original source
ah i see the issue yeah that wont work
Archived author: ModoX • Posted: 2024-01-02T13:53:30.450000+00:00
Original source
you would have to provide the template arguments for CAST_AI aswell
Archived author: ModoX • Posted: 2024-01-02T13:53:44.783000+00:00
Original source
which would just add unnecessary complexity
Archived author: Malcrom • Posted: 2024-01-02T13:54:00.356000+00:00
Original source
Yeah I figured that so I went this route
Archived author: Malcrom • Posted: 2024-01-02T13:54:45.178000+00:00
Original source
```cpp
npc_goblin_plains_make_copter(Creature* creature) : ScriptedAI(creature) { _conversationId = 0; _conversationActorId = 0; _timer = 0ms; }
```