• 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] a doubt on custom script

Status
Not open for further replies.
Level 11
Joined
Dec 31, 2007
Messages
780
mmmm...

how can i remove this location?

  • etc
    • Item - Pick every item in Stash_PlayerSlot[(Player number of (Triggering player))] and do (Item - Move (Picked item) to Location3[31])
  • etc
the "player number of (triggering player)" thingy in a custom script (gui)
 
Level 11
Joined
Dec 31, 2007
Messages
780
Stash_PlayerSlot[(Player number of (Triggering player))] this is a point variable... if i remove this with "Cstom Script: set bj_wantDestroyGroup = true" and want to use the variable again many times... doesnt this interfer?

or i can use the want destroy bj without worring?
 
Level 11
Joined
Dec 31, 2007
Messages
780
well... so... if i use the bj script it will automaticaly destroy all generated unit groups?


but it seems that anybody understood me... this variable "Stash_PlayerSlot[(Player number of (Triggering player))]" is a POINT variable not a unit group or item group... how can i remove that one?


Thx for replays ^^
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
Convert your action to custom script, look what is the value of that point.

It should be something like udg_Stash_PlayerSlot[ConvertedPlayer(GetTriggerPlayer()], now put that in the location removing script.
The result should be something like this:
Custom script: call RemoveLocation(udg_Stash_PlayerSlot[ConvertedPlayer(GetTriggerPlayer()]).
 
Status
Not open for further replies.
Top