Pritrostell
New Member
- Reaction score
- 1
Ok, so I was going off of what i saw in a thread through search and copying his code pretty much down to a T. This is what i have so far...
UpBoolean = Boolean Variable
Temp_Point = Point Variable
Temp_Point_2 = Point Variable
The only difference between my code and the one i copied is I have
Set Temp_Point_2 = ((Center of (Playable map area)) offset by 200.00 towards 90.00 degrees)
and he had
Set Temp_Point_2 = ((Center of (Playable map area)) offset by 200 towards "North").
After all that and doing some fiddling around all I get when i press up arrow is my screen scrolling. Is it possible i have the variable types wrong?
NOTE: Before that he posted a program that ran in the background that turned WASD into arrow keyes in EVERY program. Is this causing my problem as well?
Trigger:
- Up Arrow Activated
- Events
- Player - Player 1 (Red) Presses the Up Arrow key
- Conditions
- Actions
- Set UpBoolean[(Player number of (Triggering player))] = True
- Events
Trigger:
- Up Arrow DeActivated
- Events
- Player - Player 1 (Red) Releases the Up Arrow key
- Conditions
- Actions
- Set UpBoolean[(Player number of (Triggering player))] = False
- Events
Trigger:
- Up Move
- Events
- Time - Every 1.00 seconds of game time
- Conditions
- Actions
- For each (Integer A) from 1 to (Number of players), do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- UpBoolean[(Integer A)] Equal to True
- Then - Actions
- Set Temp_Point = (Position of Paladin 0000 <gen>)
- Set Temp_Point_2 = ((Center of (Playable map area)) offset by 200.00 towards 90.00 degrees)
- Unit - Order Paladin 0000 <gen> to Move To Temp_Point_2
- Custom script: call RemoveLocation (udg_Temp_Point)
- Custom script: call RemoveLocation (udg_Temp_Point_2)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- For each (Integer A) from 1 to (Number of players), do (Actions)
- Events
UpBoolean = Boolean Variable
Temp_Point = Point Variable
Temp_Point_2 = Point Variable
The only difference between my code and the one i copied is I have
Set Temp_Point_2 = ((Center of (Playable map area)) offset by 200.00 towards 90.00 degrees)
and he had
Set Temp_Point_2 = ((Center of (Playable map area)) offset by 200 towards "North").
After all that and doing some fiddling around all I get when i press up arrow is my screen scrolling. Is it possible i have the variable types wrong?
NOTE: Before that he posted a program that ran in the background that turned WASD into arrow keyes in EVERY program. Is this causing my problem as well?