Author Topic: How do i use miniGameCanDamage()  (Read 2634 times)

oh sorry i mean its not damaging outside the minigame like it should

oh sorry i mean its not damaging outside the minigame like it should
Any console errors?


Wait, would

Code: [Select]
package XMinigame
{
   function miniGameCanDamage(%obj1,%obj2)
   {
         return 1;
   }
};activatepackage(XMinigame);
work?

MinigameCanDamage is probably never called if neither of the players is in a minigame. Why don't you just use a minigame?

MinigameCanDamage is probably never called if neither of the players is in a minigame. Why don't you just use a minigame?
because i don't like being forced to stay in a mini-game unless its like a dm of some kind, and i don't think many other people do ether (or a renderman thing)

You realise you can enable jets and building and then you don't even notice you're in a minigame?

You realise you can enable jets and building and then you don't even notice you're in a minigame?
i cant explane it it just makes me feel trapped i just need a way to make it work outside minigames. that would be my last resort, no offence.

You're SOL then. Have fun rewriting a lot of stuff just to make something that already exists.

MinigameCanDamage is probably never called if neither of the players is in a minigame.

Actually, it is - and the code he posted where he just always returns true would technically work, but wouldn't really be a good idea. (See: griefing, trolling.)

Actually, it is - and the code he posted where he just always returns true would technically work, but wouldn't really be a good idea. (See: griefing, trolling.)
ok i'm only going to say this one more time. This weapon. is ONLY. FOR. My CLAN'S. Authority. Figures. they are mature. they are worthy. they are NOT trollers. and i am NOT PUBLISHING THIS!!

Wait a second! It just started working out of nowhere!
wtf?


DETAILS: I opened a minigame and set it to default and left. Then by accedent i walked into a stream of bullets from my weapon i set up that a bot was firing and it killed me! Thinking it was the mini game i closed it and cleared bricks,then reloaded the bot and tried again, still worked!

I guess its because i opened a minigame that triggered it, locked untill it stops working again
« Last Edit: February 23, 2013, 01:30:52 PM by Yin Yang »