There is a way to trigger events when an specified weapon item is equipped? ex: uses a gun then trigger event change class to be a shooter, same to swordsman etc... i see some trigger type that happen when equips are changed, but its general and i could not think an easy way to test if changed equip was a gun or a sword or something else to change class correcty, if not anyone with knowledge of code can drawme an easy way to do it by coding myself? path, archive, some specifc code line or even an pseudo algoritm to do this goal, TY
Â
Edit: i finally did it by using the event condition creating a condition list for each weapon i want to trigger as "equipped item is"Â and creating 3 different events(i for each class and with only one command "set class to X") the trigger is equips are changed, this wy i need to add every new item i add in those condition list to make it change to right class when equipped, i still thinking about a more efficient way to do same thing then you still are welcome to sugest different ways, ty again! i hope this help someone to achieve the same thing i was looking for.Â
Question
staz
There is a way to trigger events when an specified weapon item is equipped? ex: uses a gun then trigger event change class to be a shooter, same to swordsman etc... i see some trigger type that happen when equips are changed, but its general and i could not think an easy way to test if changed equip was a gun or a sword or something else to change class correcty, if not anyone with knowledge of code can drawme an easy way to do it by coding myself? path, archive, some specifc code line or even an pseudo algoritm to do this goal, TY
Â
Edit: i finally did it by using the event condition creating a condition list for each weapon i want to trigger as "equipped item is"Â and creating 3 different events(i for each class and with only one command "set class to X") the trigger is equips are changed, this wy i need to add every new item i add in those condition list to make it change to right class when equipped, i still thinking about a more efficient way to do same thing then you still are welcome to sugest different ways, ty again! i hope this help someone to achieve the same thing i was looking for.Â
Link to comment
Share on other sites
4 answers to this question
Recommended Posts