HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Cincinnati

Pages: [1] 2 3
Scripting & Programming / Re: Input [Resolved]
« on: Sep 20, 13, 01:08:05 PM »
Thanks for the response, it appears that this is going to be easier then I first suspected.

Scripting & Programming / [Resolved] Input
« on: Sep 19, 13, 03:58:59 PM »
If I wanted to assign an ability to a mouse input via script, what would be the most correct way to do this? Better yet
what would be a good system to implement if I was planning to manipulate inputs like this frequently?

Any help is appreciated,

Scripting & Programming / Re: General Scripting Question
« on: Jul 16, 13, 04:17:52 PM »
I will just send the data, it seems less intensive that way anyways.

Scripting & Programming / Re: General Scripting Question
« on: Jul 08, 13, 02:18:33 PM »
Thanks for the answer.

Is there a way to pass the node as is without it pointing to the updated values?


Scripting & Programming / General Scripting Question
« on: Jul 08, 13, 12:35:13 PM »
This is a difficult question to ask without sounding like a complete fool, so here goes...

Say I pass a noderef into a method and then reference it in said method.

Every time I reference the node does it "find" that node with the most up to date data or do the fields on the noderef stay static once it has been passed?


Scripting & Programming / Re: HSL Oracle system.
« on: Jul 05, 13, 12:44:52 PM »
Also, if I add a node to my oracle will all nodes associated ( by the association system ) also stored on the client oracle?

Scripting & Programming / HSL Oracle system.
« on: Jul 05, 13, 08:51:55 AM »
A few questions on how Client Oracles work.

Is it acceptable to update a client side oracle directly instead of pulling the updates from server?

I plan on anchoring my Oracle(s) to the worldroot, the wiki gives a utility to do this called ClientDataSystem
does this utility automatically attach the Oracle to the WorldRoot when you run the ClientDataSystem:GetSystemRoot( "YourSystemName" )  code?

All help is appreciated,

Scripting & Programming / Re: Referencing a player noderef.
« on: Jun 05, 13, 03:36:57 PM »
Still a bit confused.

Lets break it down:

//Action is mapped to right mouse click
//Client clicks mouse to activate action
//It fires a raycast to produce a noderef = Target
//Then rolls a random Float for critical.


method MyAttackClassMethod()
  Target as Noderef = me.MyRaycastClassMethod()
  Dodged as Boolean = me.MyDodgeClassMethod(Target as Noderef of Class Foo_CommonCharacter)
  Critical as Boolean = me.MyCriticalClassMethod(Attacker as Noderef of Class Foo_CommonCharacter)

My question is how do I pull the Attacker Noderef when the Client activates the action?
I understand that the action could pass some data but I don't understand how activating an ability can reference the class I need.

All help is appreciated.

Scripting & Programming / Re: Referencing a player noderef.
« on: Jun 05, 13, 11:13:13 AM »


I'm an idiot, thank you Wiki!

If a player was to activate an ability on the client side, how do I reference that player through methods?

say I have a method on class Foo_abilities

method FooattackClassMethod(Attacker as Noderef of Class Foo_CommonCharacter)

At what point can I pull the player in as Attacker, and how?

I'm lost on this.


Scripting & Programming / Re: Lobby Id(s)
« on: May 31, 13, 07:23:33 AM »
You preemptively answered a few questions for me...
your some kind of crazy brain ninja, i'm convinced.
Thanks for the response.


Scripting & Programming / Re: Lobby Id(s)
« on: May 30, 13, 02:09:07 PM »

Thanks as always, I know there are a number of ways to save the number.
Off the top of my head is there a way to create a list or lookuplist and just add it in and remove it as needed?
Am I on the right track?

let me know what you guys think.


Scripting & Programming / Lobby Id(s)
« on: May 30, 13, 11:40:53 AM »
I am trying to set up a Lobby system in a system Area using (in most) the bare bones lobby system in place via $_LOBBY.

Here is how I want it to work.

World Spins up:
System area  = KeepareaUp()
On Area Load:
System area is registered for world knowledge ( Area and Player)
Creates LogicalLobbyDirectory
Ect Ect.

Problem is that most of these methods are requesting an ID for the Directory and Logical Directory.
I am a little confused about how to create or find these ID's.
Is it the same as the specID?
Is it the request Id? If so how do I reference that outside the method it was stated in?

Reminder I am not a master scripter.

Any explanation is appreciated.

Scripting & Programming / Re: Enumerations
« on: Mar 28, 13, 01:59:33 PM »
I had attempted to assign them to a class as a field and I thought it was not a possibility. I will try thins ASAP


Scripting & Programming / [Resolved] Enumerations
« on: Mar 28, 13, 11:44:46 AM »
Still pretty new to writing scripts so, don't judge me but I have what is likely to be a very easy question.

Say I have:

Script A

function ExampleA(Whatever as ENUM Whatevers)
When Whatever
Is Red
//Do something

How do I reference the Enumeration in another script?


Script B

method ExampleB()
ExampleB( //What do I put here?)

Do I have to convert the enum to a string in order to reference it?

Pages: [1] 2 3