Thread Rating:
  • 4 Vote(s) - 4.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[DEV] G2O Bot module
#28
I'd rather suggest that hitPlayer() receives an optional parameter for a calculation function reference.

In GMPA there are these SetTimer functions, where you specify the name of a timer function using a string parameter. This principle could also be applied here.
If the optional parameter is specified the selfmade calculation function will be called. If it isn't specified it falls back to Gothic's original calculation or doesn't calculate anything at all.
Reply


Messages In This Thread
[DEV] G2O Bot module - by Sative - 20.12.2015, 18:17
RE: [DEV] G2O Bot module - by Razir - 25.12.2015, 13:22
RE: [DEV] G2O Bot module - by Bimbol - 25.12.2015, 13:55
RE: [DEV] G2O Bot module - by Sative - 25.12.2015, 15:03
RE: [DEV] G2O Bot module - by Razir - 25.12.2015, 14:13
RE: [DEV] G2O Bot module - by Bimbol - 25.12.2015, 14:21
RE: [DEV] G2O Bot module - by Giosep - 26.12.2015, 12:50
RE: [DEV] G2O Bot module - by Sative - 26.12.2015, 13:14
RE: [DEV] G2O Bot module - by Buras - 27.12.2015, 11:14
RE: [DEV] G2O Bot module - by Sative - 30.12.2015, 14:25
RE: [DEV] G2O Bot module - by Buras - 30.12.2015, 14:45
RE: [DEV] G2O Bot module - by Sative - 02.01.2016, 15:35
RE: [DEV] G2O Bot module - by Razir - 02.01.2016, 17:31
RE: [DEV] G2O Bot module - by HammelGammel - 02.01.2016, 19:45
RE: [DEV] G2O Bot module - by Sative - 02.01.2016, 20:25
RE: [DEV] G2O Bot module - by HammelGammel - 02.01.2016, 21:35
RE: [DEV] G2O Bot module - by Sative - 02.01.2016, 23:01
RE: [DEV] G2O Bot module - by HammelGammel - 05.01.2016, 20:33
RE: [DEV] G2O Bot module - by Sative - 05.01.2016, 23:59
RE: [DEV] G2O Bot module - by HammelGammel - 06.01.2016, 00:28
RE: [DEV] G2O Bot module - by Sative - 06.01.2016, 12:19
RE: [DEV] G2O Bot module - by Galin - 06.01.2016, 13:34
RE: [DEV] G2O Bot module - by Quarchodron - 06.01.2016, 13:58
RE: [DEV] G2O Bot module - by Sative - 06.01.2016, 14:24
RE: [DEV] G2O Bot module - by Bimbol - 06.01.2016, 14:29
RE: [DEV] G2O Bot module - by Galin - 06.01.2016, 18:08
RE: [DEV] G2O Bot module - by HammelGammel - 09.01.2016, 21:05
RE: [DEV] G2O Bot module - by Seq - 10.01.2016, 02:05
RE: [DEV] G2O Bot module - by Bimbol - 10.01.2016, 02:58
RE: [DEV] G2O Bot module - by Sative - 10.01.2016, 02:36
RE: [DEV] G2O Bot module - by Galin - 12.01.2016, 22:20
RE: [DEV] G2O Bot module - by HammelGammel - 14.01.2016, 21:04
RE: [DEV] G2O Bot module - by WiteXDan - 31.01.2016, 11:52
RE: [DEV] G2O Bot module - by Bimbol - 31.01.2016, 12:00
RE: [DEV] G2O Bot module - by HammelGammel - 20.02.2016, 18:56
RE: [DEV] G2O Bot module - by Sative - 20.02.2016, 21:01
RE: [DEV] G2O Bot module - by HammelGammel - 20.02.2016, 21:20
RE: [DEV] G2O Bot module - by Zmorra - 27.02.2016, 19:28
RE: [DEV] G2O Bot module - by Sative - 01.03.2016, 12:57
RE: [DEV] G2O Bot module - by KimiorV - 08.05.2016, 00:37
RE: [DEV] G2O Bot module - by Ignisio - 08.05.2016, 02:00
RE: [DEV] G2O Bot module - by Sative - 25.05.2016, 18:35
RE: [DEV] G2O Bot module - by HammelGammel - 25.05.2016, 20:28
RE: [DEV] G2O Bot module - by Sative - 25.05.2016, 20:35
RE: [DEV] G2O Bot module - by HammelGammel - 12.11.2016, 00:58
RE: [DEV] G2O Bot module - by Mattwell - 15.11.2016, 19:28
RE: [DEV] G2O Bot module - by Bimbol - 15.11.2016, 19:35
RE: [DEV] G2O Bot module - by Mattwell - 18.11.2016, 21:49
RE: [DEV] G2O Bot module - by Osmith - 19.11.2016, 14:56
RE: [DEV] G2O Bot module - by Zmorra - 19.11.2016, 15:32
RE: [DEV] G2O Bot module - by Mattwell - 19.11.2016, 21:43
RE: [DEV] G2O Bot module - by blint - 19.11.2016, 21:53
RE: [DEV] G2O Bot module - by Bimbol - 19.11.2016, 22:56
RE: [DEV] G2O Bot module - by Mattwell - 20.11.2016, 00:05
RE: [DEV] G2O Bot module - by HammelGammel - 20.11.2016, 10:46
RE: [DEV] G2O Bot module - by Bimbol - 20.11.2016, 02:00
RE: [DEV] G2O Bot module - by Nubzior - 20.11.2016, 21:18
RE: [DEV] G2O Bot module - by Mattwell - 20.11.2016, 23:19
RE: [DEV] G2O Bot module - by Nubzior - 20.11.2016, 23:24
RE: [DEV] G2O Bot module - by Mattwell - 20.11.2016, 23:37
RE: [DEV] G2O Bot module - by Nubzior - 20.11.2016, 23:47
RE: [DEV] G2O Bot module - by HammelGammel - 25.11.2016, 16:15
RE: [DEV] G2O Bot module - by Nubzior - 25.11.2016, 19:26
RE: [DEV] G2O Bot module - by HammelGammel - 25.11.2016, 20:13

Possibly Related Threads…
Thread Author Replies Views Last Post
  [New G2O][Client-Side] GUI Patrix 1 3,501 02.01.2021, 05:22
Last Post: Patrix
  [G2O] SpeedBlock Marbar 16 11,887 13.10.2020, 15:32
Last Post: Sative
  [New G2O][Client-Side] LocalStorage Patrix 0 2,545 08.05.2020, 16:38
Last Post: Patrix
  [New G2O] Module example Patrix 4 8,005 17.05.2019, 01:30
Last Post: Patrix
  [New G2O][Client-Side] Music Module Nubzior 3 6,113 24.05.2018, 08:07
Last Post: Nubzior
  G2O - Client Side Bots(0.0.4) KimiorV 16 17,825 16.01.2017, 10:47
Last Post: KimiorV
  G2O Client side bots KimiorV 4 6,155 09.06.2016, 20:11
Last Post: KimiorV

Forum Jump:


Users browsing this thread: 2 Guest(s)