How Can I Make A Kill System?
I'm Making A Bomberman Online Game, And It's All Working Fine.
But I tried To Use The Topdown Shooter Example Kill System, But It Doesn't Work On My Game.
Sugestions ?
If Anyone Can Help if so Thanks
Please Help Me ;(
Replies (5)
Last message on 21 Sep 2015
Size43
(Administrator)
on
8 Sep 2015, 12:09:16
What do you mean "doesn't work"? It's hard for me to say anything useful about something so general.
Chibi
(Topicstarter)
on
10 Sep 2015, 13:58:54
well, in my game when i put the killl system of the topdown shooter I Have The following error
___________________________________________
ERROR in
action number 1
of Collision Event with object obj_explosion
for object obj_player:
Error in code at line 3:
if(other.owner != gms_self_playerid() && !gms_team_player_is_friend(other.owner))
^
at position 11: Unknown variable owner
Size43
(Administrator)
on
10 Sep 2015, 15:59:56
How are you creating the obj_explosion objects? If you don't immediately sync them, the owner variable cannot be set by the extension.
Chibi
(Topicstarter)
on
10 Sep 2015, 20:44:20
I Haven't Sync It, But I'm Trying To Sync Right Now Using A Similiar Bomb Sync Engine.
Size43
(Administrator)
on
21 Sep 2015, 19:33:20
Well if you're not syncing it, the extension will not create the owner variable so you'll need to comment that line out until you're actually syncing the instance ;)