Skip to content

Problem with mod in multiplayer game: cloning items and creatures during creation from script

deloriandelorian Member Posts: 1
Hello, I have the following problem with my mods for BGEE. As I wasn't been able to find solution, I hope somebody will be able to help me here.

When I create creature using CreateCreature() action in area script it doesn't work correctly in multiplayer game. I am using following code sequence in script:

IF
Global("D0SpawnDelor", "GLOBAL", 0)
// OnCreation() //(I tried to add this line but it doesn't work either)
THEN
RESPONSE #100
SetGlobal("D0SpawnDelor", "GLOBAL", 1)
CreateCreature("D0DELOR", [729.435], 10)
ActionOverride("D0DELOR",MakeGlobal())
Continue()
END

The script run fine when I use it during single player game or if I use it in multiplayer game when nobody is connected. But when we tried play in group (3 player), it didn't create single D0DELOR creature but multiple of them (usually 3 but sometimes 2). All players have same BGEE version 2.5.17, all of us have correctly installed mod (it works in singleplayer mod).

Can somebody help me solve this mystery.

Thanks.
Sign In or Register to comment.