1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Lead your forces to battle in the 15th Techtree Contest. The call is yours, commander!
    Dismiss Notice
  4. The reforging of the races is complete. Come see the 14th Techtree Contest Results.
    Dismiss Notice
  5. It's time to choose your horse in the race - the 32nd Modeling Contest Poll is up!
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Plz read this!!! trigger help!

Discussion in 'Requests' started by Sharp-grass, Jul 31, 2005.

  1. Sharp-grass

    Sharp-grass

    Joined:
    Jun 13, 2005
    Messages:
    26
    Resources:
    0
    Resources:
    0
    I want something, i dont know if its been done ever. i want a unit to pick up an item, lets say "tactical sniper". and when he aquires it, he gets an ability named, Fire Tactical Sniper. This unit has no attacks enabled, and theres various guns in my map. What i want (in general) is when u get an item, an ability (matching item aquired) appears in ur units box thing. plz plz plz help me. i dont care if it happens thru trigger or object editor but PLZ HELP ME IF I ACHIEVE THIS, MY MAP WILL BE SOOO COOL! PLZ
     
  2. Rui

    Rui

    Joined:
    Jan 7, 2005
    Messages:
    8,506
    Resources:
    8
    Maps:
    8
    Resources:
    8
    I don't think attacks can be enabled/disabled. But if you could explain how your map will be, maybe I have an idea.

    -Rui
     
  3. Tr!KzZ

    Tr!KzZ

    Joined:
    Mar 7, 2005
    Messages:
    800
    Resources:
    29
    Models:
    18
    Icons:
    2
    Maps:
    9
    Resources:
    29
    hey i have an idea.. search battleships maps (psycho is a good one for it, because it is not protcted) open the map and look at the fire system... the boats havent any atgtackl and attacking only if they got some weapons in his inventory
    try it, its relative reasy to understand...
     
  4. N00byStance

    N00byStance

    Joined:
    Jul 4, 2005
    Messages:
    1,071
    Resources:
    14
    Models:
    13
    Tutorials:
    1
    Resources:
    14
    Hey men, he just want to add an ability to unit when it picks up an item, and remove it when it is dropped -.+

    Add Ability:

    Events
    Unit - A unit picks up an item
    Conditions
    <none>
    Actions
    If (Picked item) Equal To <your item here> Then
    Actions
    Unit - Add <your ability matching item> to (Picking unit/Triggering unit) <-- this is Unit - Add ability to unit action
    Game - Display text message to (Owner of (Picking unit)) the text: Concentrated strings("You got" + Item - Name of (Picked item)

    Donno it will work, wrote from memory ^^
     
  5. WolfRaider

    WolfRaider

    Joined:
    May 29, 2005
    Messages:
    22
    Resources:
    0
    Resources:
    0