• 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.

Permanent Crater Deformation

Status
Not open for further replies.
Level 7
Joined
Jul 25, 2008
Messages
292
I can't seem to get this to work, I want it to create a permanent crater in a random area of the selected region (I know it is set to centre in the pic). At the moment it is doing nothing... suggestions?

sixseal.png
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
It should work. I just tested it and it does for me.
  • Actions
    • Set tempLoc = (Center of (Playable map area))
    • Environment - Create a 0.01 second Permanent crater deformation at tempLoc with radius 400.00 and depth 30.00
    • Custom script: call RemoveLocation(udg_tempLoc)
There must be another explanation. Does the trigger even run? Show some kind of message like "Create Crater" at the start of that trigger (Game - Text Message). I am sure that the action itself is fine (aside from the leak, but leaks don't disable things).
Move the camera to the center of that region as well, so you don't have to find it.

Also: you can copy/paste triggers from the World Editor directly to the Hive by right-clicking the trigger name above "events" and selecting "copy as text". Then you need to write: "[trigger] (press CTRL + V now) [/trigger]" and the trigger will show.
 
Level 7
Joined
Jul 25, 2008
Messages
292
Thanks, I have it fixed now, or more of, it was always working but it wasn't noticable enough (this is why you don't work on games at 2 in the morning) . Plus rep to all of you who took the time to reply :)


@Dr Super Good does it effect games that are just pc with pc?
 
Status
Not open for further replies.
Top