• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Point Array Destroing Help?

Status
Not open for further replies.
i need you help in a Spell:
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Arcane Circle
  • Actions
    • ....
    • ....
    • Set PS_Caster_Position[PS_Intger]
    • ....
    • ....
    • ....
    • Custom Script: call RemoveLocation(udg_PS_Caster_Postion[bj_PS_IntgerIndex])
The " Custom Script: call RemoveLocation(udg_PS_Caster_Postion[bj_PS_IntgerIndex])"Doesn't Work What to do??
 
Level 19
Joined
Aug 8, 2007
Messages
2,765
not nearly enough information.
also, PS_intger isnt a BJ..
it should be udg_PS_Intger
 
Last edited:
Level 28
Joined
Jan 26, 2007
Messages
4,789
I hate camel-casing, no !
To be completely fair, you're the one who's doing 100% camel-casing (since the beginning of each word has to be a capital letter, but my "temp" is lower-case).
So for a regular variable like "tempInt", it's only 50% camel-cased. "TempInt" is 100% Camel-cased.

(And you know... standard naming conventions for variables).
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
I personally don't like all-lower for local variables.
I'll give in to upper-camel case for globals (I'll go change my systems if anyone needs 'em), but locals have to be lower-camel case for me.

All-caps with underscore for constants is a given.
Upper-camel case for functions as well.

This is all off-topic though (maybe create another topic for this?)
 
Status
Not open for further replies.
Top