Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

Search found 55 matches

by jamisco
Thu Jul 20, 2017 4:09 am
Forum: Answered ScriptAPI Topics
Topic: A way to skip parameters in method
Replies: 4
Views: 3343
Gender:

Re: A way to skip parameters in method

i see, so how would you by pass target object id
by jamisco
Tue Jul 18, 2017 10:55 pm
Forum: Answered ScriptAPI Topics
Topic: A way to skip parameters in method
Replies: 4
Views: 3343
Gender:

A way to skip parameters in method

take the method .. Player.AddCommand(new PlayerCommand(CommandType, TargetbjectID, delayTime))
say i want to input just commandtype and the delay time, how would i skip the TargetObjectID?
by jamisco
Mon Jul 17, 2017 5:50 pm
Forum: Answered ScriptAPI Topics
Topic: How do I detect 1 Player not all of them?
Replies: 2
Views: 2083
Gender:

Re: How do I detect 1 Pl;ayer not all of them?

so each player in the game has a unique ID,for example say they are 6 players in the game, player 1 can will have U-ID 1, player 2 will have U-ID 2 and so on... when you call Game.GetPlayer(Unique-ID), you simply use the player's Id to in sense detect the player.... if you want to get the player's I...
by jamisco
Fri Jul 14, 2017 5:29 pm
Forum: Answered ScriptAPI Topics
Topic: Problem wihen using void methods inside methods :D
Replies: 1
Views: 1676
Gender:

Problem wihen using void methods inside methods :D

Why do i get an error when i compile code when i do some thing like this? Normally this should work, atleast it works in visual studio. public void OnStartup() { void Life() { Game.ShowPopupMessage("life"); } Life(); } I get this error code picture of error message Whats causing the problem and how ...
by jamisco
Mon Jul 10, 2017 9:33 pm
Forum: Answered ScriptAPI Topics
Topic: How to detect if a player is shooting/firing
Replies: 1
Views: 1815
Gender:

How to detect if a player is shooting/firing

the script API allows for one to detect whether a player "IsManualAiming" or "IsHipFiring", but it doesn't allow for us to detect whether a player is directly firing. For example, a player can be Aiming but not firing and in some/most situations the hipFire property is sort of redundant because play...
by jamisco
Mon Jul 10, 2017 9:25 pm
Forum: Superfighters Deluxe Ideas and Suggestions
Topic: Aim and Move
Replies: 3
Views: 2542
Gender:

Re: Aim and Move

what do you mean by "can aim while moving up and down" ... more specifically how do you move up and down, do you mean while using ladders?... but overall, i like your idea, its will force people who spend like 90% of the game taking cover to move more.
by jamisco
Fri Jun 30, 2017 11:21 pm
Forum: Answered ScriptAPI Topics
Topic: How to make a command repeat
Replies: 7
Views: 4345
Gender:

Re: How to make a command repeat

how do I do that? :D
by jamisco
Fri Jun 30, 2017 8:36 pm
Forum: Answered ScriptAPI Topics
Topic: How to make a command repeat
Replies: 7
Views: 4345
Gender:

How to make a command repeat

so I tried doing something like this

Code: Select all

while (player.isDead != true) 
{
	player.AddCommand(new PlayerCommand(PlayerCommandType.AttackOnce));
}
the game will crash because off infinite loop, how do you guys recommend I go about this?
by jamisco
Thu Jun 29, 2017 6:47 pm
Forum: Answered ScriptAPI Topics
Topic: Object references not set to an instance of an object
Replies: 11
Views: 6369
Gender:

Re: Object references not set to an instance of an object

jamisco, Do you have a Skype or discord or Telegram or other? I could help you correct all the mistakes so as not to clog the topic and make the code more adequate and beautiful. Yea, just go on discord and look up jamisco Your name should be of this type: Nickname # 0000 in discord. Or please add ...
by jamisco
Thu Jun 29, 2017 4:16 pm
Forum: Answered ScriptAPI Topics
Topic: Object references not set to an instance of an object
Replies: 11
Views: 6369
Gender:

Re: Object references not set to an instance of an object

Scraper wrote:
Thu Jun 29, 2017 12:21 pm
What will you use the script for?
Planning to create highly advance AI, need experience for a programming job in the future. Btw when i say advanced, i mean advanced
by jamisco
Thu Jun 29, 2017 4:15 pm
Forum: Answered ScriptAPI Topics
Topic: Object references not set to an instance of an object
Replies: 11
Views: 6369
Gender:

Re: Object references not set to an instance of an object

kirill240 wrote:
Thu Jun 29, 2017 12:31 pm
jamisco, Do you have a Skype or discord or Telegram or other? I could help you correct all the mistakes so as not to clog the topic and make the code more adequate and beautiful.
Yea, just go on discord and look up jamisco
by jamisco
Thu Jun 29, 2017 4:13 pm
Forum: Answered ScriptAPI Topics
Topic: Object references not set to an instance of an object
Replies: 11
Views: 6369
Gender:

Re: Object references not set to an instance of an object

kirill240 wrote:
Thu Jun 29, 2017 12:19 pm
Sorry, if my answer contains too many characters, I get an error sending an answer.
Is the error a getpost/php or something similar?
Also i greatly appreciate the answer, been waiting for like 3 days
by jamisco
Thu Jun 29, 2017 6:38 am
Forum: General
Topic: What does double posting refer to?
Replies: 3
Views: 2685
Gender:

Re: What does double posting refer to?

if you go to the rules, I think you either broke rule 10, 11, 12, 13 or any of them combined
by jamisco
Thu Jun 29, 2017 1:55 am
Forum: Answered ScriptAPI Topics
Topic: Object references not set to an instance of an object
Replies: 11
Views: 6369
Gender:

Object references not set to an instance of an object

I decided to create a new post since the other one was getting out of its original subject I have the following script, , but when I run the game, I get this error, but the script does get compiled with any errors Script Error Error in method 'ActivateTheGunner(CreateTriggerArgs)' in map script. See...
by jamisco
Wed Jun 28, 2017 11:04 pm
Forum: Superfighters Deluxe
Topic: How do you mod people>?
Replies: 5
Views: 3993
Gender:

Re: How do you mod people>?

lol, ur title was kinda misleading
by jamisco
Tue Jun 27, 2017 8:28 pm
Forum: Answered ScriptAPI Topics
Topic: Script error cant find method ..."Method Name"
Replies: 8
Views: 5114
Gender:

Re: Script error cant find method ..."Method Name"

Due to the change in problem, I created a new post, which can be found here
by jamisco
Tue Jun 27, 2017 6:30 am
Forum: Answered ScriptAPI Topics
Topic: Script error cant find method ..."Method Name"
Replies: 8
Views: 5114
Gender:

Re: Script error cant find method ..."Method Name"

Thx Jak, I found the "broken code" in my code, problem is, it doesn't look broken. the broken part is within the foreach statement. IPlayer[] Enemies = new IPlayer[] { } int i = 0 // used for enemy array foreach(IPlayer plyr in Game.GetPlayers()) { PlayerTeam Plyr_team = plyr.GetTeam() if (Plyr_team...
by jamisco
Mon Jun 26, 2017 8:03 am
Forum: Answered ScriptAPI Topics
Topic: Script error cant find method ..."Method Name"
Replies: 8
Views: 5114
Gender:

Re: Script error cant find method ..."Method Name"

So the trigger args part isn't the problem then?
by jamisco
Sun Jun 25, 2017 8:37 pm
Forum: Answered ScriptAPI Topics
Topic: Script error cant find method ..."Method Name"
Replies: 8
Views: 5114
Gender:

Re: Script error cant find method ..."Method Name"

Its still not working. Now I get this.... Script Error Error in method 'ActivateTheGunner(TriggerArgs)' in map script. See the exception for more details: --- Exception --- Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of...
by jamisco
Sun Jun 25, 2017 2:41 am
Forum: Answered ScriptAPI Topics
Topic: Script error cant find method ..."Method Name"
Replies: 8
Views: 5114
Gender:

Script error cant find method ..."Method Name"

So I have a methed called public void ActivateTheGunner() { //Activating DA Gunner } but when I run my game and I'm using a script trigger object in map editor to trigger the method, it says this error Script Error Can't find method 'ActivateTheGunner()' in map script. Expecting: public void Activat...