- Joined
- Jun 5, 2008
- Messages
- 504
I created gui/mui spell (i dont wana post the code, as i dont wana reveal the spell). But there is weird bug in it. It can be cast as many times as wanted with players EXEPT player2 = blue! Why is that? i tested them by sharing unit controll in player settings.
all other players can cast it, even multiple times when the spell is running.
I dont see anything in the code that would prevent player2 from casting it. Since its MUI!
any ideas? i find this very weird.
*edit*
Well i kinda know the problem part, since it does everything else expet orders last created unit to do the spell.
So it creates the dummys, but it wont do "order laste created unit to impale point" for player2 blue. For everyone else it works.
it doesnt make any fucking sense why it doesnt work. I tried disabling all triggers that they wont affect anything, but its no help.
all other players can cast it, even multiple times when the spell is running.
I dont see anything in the code that would prevent player2 from casting it. Since its MUI!
any ideas? i find this very weird.
*edit*
Well i kinda know the problem part, since it does everything else expet orders last created unit to do the spell.
So it creates the dummys, but it wont do "order laste created unit to impale point" for player2 blue. For everyone else it works.
it doesnt make any fucking sense why it doesnt work. I tried disabling all triggers that they wont affect anything, but its no help.
- Unit - Create 1 Pain Spikes Caster for (Owner of PS_unit) at PS_point[3] facing Default building facing degrees
- Unit - Order (Last created unit) to Undead Crypt Lord - Impale PS_point[2]